fix: Include error in the message in JS task runner sandbox (#11359)

This commit is contained in:
Tomi Turtiainen 2024-10-23 12:13:09 +03:00 committed by GitHub
parent e4218debd1
commit 0708b3a1f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
});
} }
} }