mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Emit different error for issue in execution or trigger
This commit is contained in:
@@ -10,7 +10,10 @@ export class WorkflowActivationError extends ExecutionBaseError {
|
||||
constructor(message: string, error: Error, node?: INode) {
|
||||
super(error);
|
||||
this.node = node;
|
||||
this.cause = error;
|
||||
this.cause = {
|
||||
message: error.message,
|
||||
stack: error.stack as string,
|
||||
};
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user