mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-14 17:05:29 +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
|
@ -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…
Add table
Add a link
Reference in a new issue