feat: show error in execution step
This commit is contained in:
@@ -188,6 +188,7 @@ type ExecutionStep {
|
|||||||
status: String
|
status: String
|
||||||
dataIn: JSONObject
|
dataIn: JSONObject
|
||||||
dataOut: JSONObject
|
dataOut: JSONObject
|
||||||
|
errorDetails: JSONObject
|
||||||
createdAt: String
|
createdAt: String
|
||||||
updatedAt: String
|
updatedAt: String
|
||||||
}
|
}
|
||||||
|
1
packages/types/index.d.ts
vendored
1
packages/types/index.d.ts
vendored
@@ -26,6 +26,7 @@ export interface IExecutionStep {
|
|||||||
step: IStep;
|
step: IStep;
|
||||||
dataIn: IJSONObject;
|
dataIn: IJSONObject;
|
||||||
dataOut: IJSONObject;
|
dataOut: IJSONObject;
|
||||||
|
errorDetails: IJSONObject;
|
||||||
status: string;
|
status: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
|
@@ -73,6 +73,7 @@ export default function ExecutionStep(props: ExecutionStepProps): React.ReactEle
|
|||||||
<Tabs value={activeTabIndex} onChange={(event, tabIndex) => setActiveTabIndex(tabIndex)}>
|
<Tabs value={activeTabIndex} onChange={(event, tabIndex) => setActiveTabIndex(tabIndex)}>
|
||||||
<Tab label="Data in" />
|
<Tab label="Data in" />
|
||||||
<Tab label="Data out" />
|
<Tab label="Data out" />
|
||||||
|
<Tab label="Error" />
|
||||||
<Tab label="Execution step" />
|
<Tab label="Execution step" />
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -86,6 +87,10 @@ export default function ExecutionStep(props: ExecutionStepProps): React.ReactEle
|
|||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|
||||||
<TabPanel value={activeTabIndex} index={2}>
|
<TabPanel value={activeTabIndex} index={2}>
|
||||||
|
<JSONViewer data={executionStep.errorDetails} />
|
||||||
|
</TabPanel>
|
||||||
|
|
||||||
|
<TabPanel value={activeTabIndex} index={3}>
|
||||||
<JSONViewer data={(executionStep as unknown) as IJSONObject} />
|
<JSONViewer data={(executionStep as unknown) as IJSONObject} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
</Content>
|
</Content>
|
||||||
|
@@ -14,6 +14,7 @@ export const GET_EXECUTION_STEPS = gql`
|
|||||||
status
|
status
|
||||||
dataIn
|
dataIn
|
||||||
dataOut
|
dataOut
|
||||||
|
errorDetails
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
step {
|
step {
|
||||||
|
Reference in New Issue
Block a user