Skip to content

Commit c37c2e9

Browse files
authored
Merge pull request #20 from actiontech/fix/error-failed-maessage-filed-name
fix: update field name
2 parents 744fc3a + 88d6027 commit c37c2e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/packages/core-blocks/src/useErrorDetails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function useErrorDetails(error: IErrorDetailsHook['error']): HookType {
5656
};
5757
const name = typeof error === 'string' ? translate('core_blocks_exception_message_error_message') : error?.name;
5858
let message = (typeof error === 'string' ? error : error?.message) ?? undefined;
59-
const executionFailedMessage = (error as any)?.execution_failed_message as string;
59+
const executionFailedMessage = (error as any)?.executionFailedMessage as string;
6060
const errorCode = (error as any)?.errorCode as string;
6161
let workflowId: string | undefined;
6262

0 commit comments

Comments
 (0)