refactor(core): Revamp crash recovery mechanism for main mode (#9613)
This commit is contained in:
12
packages/cli/src/errors/node-crashed.error.ts
Normal file
12
packages/cli/src/errors/node-crashed.error.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { INode } from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
export class NodeCrashedError extends NodeOperationError {
|
||||
constructor(node: INode) {
|
||||
super(node, 'Node crashed, possible out-of-memory issue', {
|
||||
message: 'Execution stopped at this node',
|
||||
description:
|
||||
"n8n may have run out of memory while running this execution. More context and tips on how to avoid this <a href='https://docs.n8n.io/hosting/scaling/memory-errors/' target='_blank'>in the docs</a>",
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user