mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Include error in the message in JS task runner sandbox (#11359)
This commit is contained in:
@@ -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,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user