mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -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 WrappedExecutionError(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new ApplicationError('Unknown error', {
|
throw new ApplicationError(`Unknown error: ${JSON.stringify(error)}`);
|
||||||
cause: error,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue