Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webapp/packages/core-blocks/src/useErrorDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function useErrorDetails(error: Error | null): HookType {
};
const name = error?.name;
const message = error?.message;
const executionFailedMessage = (error as any)?.execution_failed_message as string;
const executionFailedMessage = (error as any)?.executionFailedMessage as string;

return {
name,
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/core-sdk/src/ServerInternalError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class ServerInternalError extends DetailsError implements ServerError {
this.errorCode = error.errorCode;
this.errorType = error.errorType as ServerErrorType;
this.causedBy = error.causedBy;
(this as any).execution_failed_message = (error as any).execution_failed_message;
(this as any).executionFailedMessage = (error as any).executionFailedMessage;
}

hasDetails(): boolean {
Expand Down