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 17e9a28 commit 6c773d2Copy full SHA for 6c773d2
src/index.ts
@@ -1,4 +1,5 @@
1
import fs from "fs/promises";
2
+import {inspect} from 'node:util'
3
import * as core from "@actions/core";
4
import * as configuration from "./configuration";
5
import * as logger from "./logger";
@@ -118,7 +119,7 @@ process.on("unhandledRejection", function (reason) {
118
119
process.exit(1);
120
}
121
})().catch((error) => {
- logger.error(JSON.stringify(error)).then(() => {
122
+ logger.error(inspect(error)).then(() => {
123
exit(error);
124
});
125
0 commit comments