fix(core): Improve handling of wrapped errors (no-changelog) (#8631)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-14 17:29:23 +01:00
committed by GitHub
parent 100d9bc087
commit 2b9391a975
3 changed files with 6 additions and 7 deletions

View File

@@ -45,8 +45,7 @@ export abstract class NodeError extends ExecutionBaseError {
super(message, options);
if (error instanceof NodeError) {
this.level = 'error';
this.message = `[RE-WRAPPED]: ${message}`;
this.tags.reWrapped = true;
}
}