3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-03-20 15:15:51 +00:00

Improve diagnostics: show exception stack trace (#63)

Also add logging to the quiet exception handlers.
This commit is contained in:
Vlad-Shcherbina 2022-06-25 23:20:01 +02:00 committed by GitHub
parent cb2cf0cc7c
commit 2055a01dcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View file

@ -45,7 +45,7 @@ async function run() {
} catch (e) {
setCacheHitOutput(false);
core.info(`[warning] ${(e as any).message}`);
core.info(`[warning] ${(e as any).stack}`);
}
}