mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-12 08:10:55 +00:00
Dump full stacktrace if available
This commit is contained in:
parent
d842616537
commit
8b100854e9
3 changed files with 9 additions and 0 deletions
3
dist/restore/index.js
vendored
3
dist/restore/index.js
vendored
|
@ -59804,6 +59804,9 @@ var external_path_default = /*#__PURE__*/__nccwpck_require__.n(external_path_);
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e) => {
|
||||||
core.info(`[warning] ${e.message}`);
|
core.info(`[warning] ${e.message}`);
|
||||||
|
if (e.stack) {
|
||||||
|
core.info(e.stack);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
const cwd = core.getInput("working-directory");
|
const cwd = core.getInput("working-directory");
|
||||||
// TODO: this could be read from .cargo config file directly
|
// TODO: this could be read from .cargo config file directly
|
||||||
|
|
3
dist/save/index.js
vendored
3
dist/save/index.js
vendored
|
@ -59804,6 +59804,9 @@ var external_os_default = /*#__PURE__*/__nccwpck_require__.n(external_os_);
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e) => {
|
||||||
core.info(`[warning] ${e.message}`);
|
core.info(`[warning] ${e.message}`);
|
||||||
|
if (e.stack) {
|
||||||
|
core.info(e.stack);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
const cwd = core.getInput("working-directory");
|
const cwd = core.getInput("working-directory");
|
||||||
// TODO: this could be read from .cargo config file directly
|
// TODO: this could be read from .cargo config file directly
|
||||||
|
|
|
@ -9,6 +9,9 @@ import path from "path";
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e) => {
|
||||||
core.info(`[warning] ${e.message}`);
|
core.info(`[warning] ${e.message}`);
|
||||||
|
if (e.stack) {
|
||||||
|
core.info(e.stack)
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const cwd = core.getInput("working-directory");
|
const cwd = core.getInput("working-directory");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue