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

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