Skip to content

Commit b4501b0

Browse files
committed
[chore]: update filed name
1 parent e30b4df commit b4501b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function useErrorDetails(error: Error | null): HookType {
5151
};
5252
const name = error?.name;
5353
const message = error?.message;
54-
const executionFailedMessage = (error as any)?.execution_failed_message as string;
54+
const executionFailedMessage = (error as any)?.executionFailedMessage as string;
5555

5656
return {
5757
name,

webapp/packages/core-sdk/src/ServerInternalError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class ServerInternalError extends DetailsError implements ServerError {
2424
this.errorCode = error.errorCode;
2525
this.errorType = error.errorType as ServerErrorType;
2626
this.causedBy = error.causedBy;
27-
(this as any).execution_failed_message = (error as any).execution_failed_message;
27+
(this as any).executionFailedMessage = (error as any).executionFailedMessage;
2828
}
2929

3030
hasDetails(): boolean {

0 commit comments

Comments
 (0)