mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-29 14:45:53 +00:00
deal with uncaught exceptions
This commit is contained in:
parent
9cc357c650
commit
6ccf2463db
3 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,10 @@ import fs from "fs";
|
|||
import os from "os";
|
||||
import path from "path";
|
||||
|
||||
process.on("uncaughtException", (e) => {
|
||||
core.info(`[warning] ${e.message}`);
|
||||
});
|
||||
|
||||
export const stateKey = "RUST_CACHE_KEY";
|
||||
const stateHash = "RUST_CACHE_HASH";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue