Changeset View
Changeset View
Standalone View
Standalone View
js_modules/dagit/packages/core/src/runs/LogsRow.tsx
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | if (node.__typename === 'ExecutionStepFailureEvent') { | ||||
/> | /> | ||||
), | ), | ||||
}); | }); | ||||
} else if (node.__typename === 'HookErroredEvent') { | } else if (node.__typename === 'HookErroredEvent') { | ||||
showCustomAlert({ | showCustomAlert({ | ||||
title: 'Error', | title: 'Error', | ||||
body: <PythonErrorInfo error={node.error} />, | body: <PythonErrorInfo error={node.error} />, | ||||
}); | }); | ||||
} else if (node.__typename === 'PipelineInitFailureEvent') { | |||||
showCustomAlert({ | |||||
title: 'Error', | |||||
body: <PythonErrorInfo error={node.error} />, | |||||
}); | |||||
} else if (node.__typename === 'EngineEvent' && node.engineError) { | } else if (node.__typename === 'EngineEvent' && node.engineError) { | ||||
showCustomAlert({ | showCustomAlert({ | ||||
title: 'Error', | title: 'Error', | ||||
body: <PythonErrorInfo error={node.engineError} />, | body: <PythonErrorInfo error={node.engineError} />, | ||||
}); | }); | ||||
} else if (node.__typename === 'PipelineFailureEvent' && node.pipelineFailureError) { | } else if (node.__typename === 'PipelineFailureEvent' && node.pipelineFailureError) { | ||||
showCustomAlert({ | showCustomAlert({ | ||||
title: 'Error', | title: 'Error', | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | ... on StepMaterializationEvent { | ||||
} | } | ||||
label | label | ||||
description | description | ||||
metadataEntries { | metadataEntries { | ||||
...MetadataEntryFragment | ...MetadataEntryFragment | ||||
} | } | ||||
} | } | ||||
} | } | ||||
... on PipelineInitFailureEvent { | |||||
error { | |||||
...PythonErrorFragment | |||||
} | |||||
} | |||||
... on PipelineFailureEvent { | ... on PipelineFailureEvent { | ||||
pipelineFailureError: error { | pipelineFailureError: error { | ||||
...PythonErrorFragment | ...PythonErrorFragment | ||||
} | } | ||||
} | } | ||||
... on ExecutionStepFailureEvent { | ... on ExecutionStepFailureEvent { | ||||
error { | error { | ||||
...PythonErrorFragment | ...PythonErrorFragment | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |