feat: show error in execution step

This commit is contained in:
Ali BARIN
2022-09-10 20:30:21 +02:00
committed by Faruk AYDIN
parent 9429031a61
commit d0bcf997fb
4 changed files with 8 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ export default function ExecutionStep(props: ExecutionStepProps): React.ReactEle
<Tabs value={activeTabIndex} onChange={(event, tabIndex) => setActiveTabIndex(tabIndex)}>
<Tab label="Data in" />
<Tab label="Data out" />
<Tab label="Error" />
<Tab label="Execution step" />
</Tabs>
</Box>
@@ -86,6 +87,10 @@ export default function ExecutionStep(props: ExecutionStepProps): React.ReactEle
</TabPanel>
<TabPanel value={activeTabIndex} index={2}>
<JSONViewer data={executionStep.errorDetails} />
</TabPanel>
<TabPanel value={activeTabIndex} index={3}>
<JSONViewer data={(executionStep as unknown) as IJSONObject} />
</TabPanel>
</Content>