We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b4600 commit d90c802Copy full SHA for d90c802
index.js
@@ -340,7 +340,7 @@ if (require.main === module) {
340
run().catch((err) => {
341
const httpStatusCode = err.$metadata ? err.$metadata.httpStatusCode : undefined;
342
core.setFailed(`${err.name} (Status code: ${httpStatusCode}): ${err.message}`);
343
- core.debug(`Received error: ${JSON.stringify(err)}`);
+ core.debug(`Received error: ${JSON.stringify(err)}`).catch(() => { return err });
344
core.debug(err.stack);
345
process.exit(1);
346
});
0 commit comments