diff --git a/dist/restore/index.js b/dist/restore/index.js index 5815e2e..718f1f2 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -59804,6 +59804,9 @@ var external_path_default = /*#__PURE__*/__nccwpck_require__.n(external_path_); process.on("uncaughtException", (e) => { core.info(`[warning] ${e.message}`); + if (e.stack) { + core.info(e.stack); + } }); const cwd = core.getInput("working-directory"); // TODO: this could be read from .cargo config file directly diff --git a/dist/save/index.js b/dist/save/index.js index 3abb575..44a9161 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -59804,6 +59804,9 @@ var external_os_default = /*#__PURE__*/__nccwpck_require__.n(external_os_); process.on("uncaughtException", (e) => { core.info(`[warning] ${e.message}`); + if (e.stack) { + core.info(e.stack); + } }); const cwd = core.getInput("working-directory"); // TODO: this could be read from .cargo config file directly diff --git a/src/common.ts b/src/common.ts index 8ee4c47..1ff1273 100644 --- a/src/common.ts +++ b/src/common.ts @@ -9,6 +9,9 @@ import path from "path"; process.on("uncaughtException", (e) => { core.info(`[warning] ${e.message}`); + if (e.stack) { + core.info(e.stack) + } }); const cwd = core.getInput("working-directory");