Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
9 changes: 9 additions & 0 deletions app/client/src/sagas/EvalErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,15 @@ export function* evalErrorHandler(
});
break;
}
case EvalErrorTypes.UPDATE_DATA_TREE_ERROR: {
// Log to Sentry with additional context
Sentry.captureMessage(error.message);
// Log locally with error details
log.error(`Evaluation Error: ${error.message}`, {
type: error.type,
});
break;
}
default: {
log.error(error);
Sentry.captureException(error);
Expand Down
1 change: 1 addition & 0 deletions app/client/src/utils/DynamicBindingUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export enum EvalErrorTypes {
EXTRACT_DEPENDENCY_ERROR = "EXTRACT_DEPENDENCY_ERROR",
CLONE_ERROR = "CLONE_ERROR",
SERIALIZATION_ERROR = "SERIALIZATION_ERROR",
UPDATE_DATA_TREE_ERROR = "UPDATE_DATA_TREE_ERROR",
}

export interface EvalError {
Expand Down
Loading