mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 12:45:11 +00:00
Dump full stacktrace if available
This commit is contained in:
parent
d842616537
commit
8b100854e9
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) => {
|
||||
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
3
dist/save/index.js
vendored
@ -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
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user