3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-08-12 00:00:55 +00:00

Dump full stacktrace if available

This commit is contained in:
Tom Parker-Shemilt 2021-06-27 18:14:56 +01:00
parent d842616537
commit 8b100854e9
3 changed files with 9 additions and 0 deletions

View file

@ -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

3
dist/save/index.js vendored
View file

@ -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

View file

@ -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");