mirror of
https://github.com/Swatinem/rust-cache.git
synced 2024-11-23 06:16:07 +08:00
deal with uncaught exceptions
This commit is contained in:
parent
9cc357c650
commit
6ccf2463db
3
dist/restore/index.js
vendored
3
dist/restore/index.js
vendored
@ -54465,6 +54465,9 @@ var __asyncValues = (undefined && undefined.__asyncValues) || function (o) {
|
||||
|
||||
|
||||
|
||||
process.on("uncaughtException", (e) => {
|
||||
core.info(`[warning] ${e.message}`);
|
||||
});
|
||||
const stateKey = "RUST_CACHE_KEY";
|
||||
const stateHash = "RUST_CACHE_HASH";
|
||||
const home = external_os_default().homedir();
|
||||
|
3
dist/save/index.js
vendored
3
dist/save/index.js
vendored
@ -54465,6 +54465,9 @@ var __asyncValues = (undefined && undefined.__asyncValues) || function (o) {
|
||||
|
||||
|
||||
|
||||
process.on("uncaughtException", (e) => {
|
||||
core.info(`[warning] ${e.message}`);
|
||||
});
|
||||
const stateKey = "RUST_CACHE_KEY";
|
||||
const stateHash = "RUST_CACHE_HASH";
|
||||
const home = external_os_default().homedir();
|
||||
|
@ -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…
Reference in New Issue
Block a user