mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
fix: Include error in the message in JS task runner sandbox (#11359)
This commit is contained in:
parent
e4218debd1
commit
0708b3a1f8
|
@ -66,8 +66,6 @@ export class JsTaskRunnerSandbox {
|
|||
throw new WrappedExecutionError(error);
|
||||
}
|
||||
|
||||
throw new ApplicationError('Unknown error', {
|
||||
cause: error,
|
||||
});
|
||||
throw new ApplicationError(`Unknown error: ${JSON.stringify(error)}`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue