mirror of
https://github.com/Swatinem/rust-cache
synced 2026-09-14 20:13:25 +00:00
deal with uncaught exceptions
This commit is contained in:
Vendored
+3
@@ -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 stateKey = "RUST_CACHE_KEY";
|
||||||
const stateHash = "RUST_CACHE_HASH";
|
const stateHash = "RUST_CACHE_HASH";
|
||||||
const home = external_os_default().homedir();
|
const home = external_os_default().homedir();
|
||||||
|
|||||||
Vendored
+3
@@ -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 stateKey = "RUST_CACHE_KEY";
|
||||||
const stateHash = "RUST_CACHE_HASH";
|
const stateHash = "RUST_CACHE_HASH";
|
||||||
const home = external_os_default().homedir();
|
const home = external_os_default().homedir();
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ import fs from "fs";
|
|||||||
import os from "os";
|
import os from "os";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
|
process.on("uncaughtException", (e) => {
|
||||||
|
core.info(`[warning] ${e.message}`);
|
||||||
|
});
|
||||||
|
|
||||||
export const stateKey = "RUST_CACHE_KEY";
|
export const stateKey = "RUST_CACHE_KEY";
|
||||||
const stateHash = "RUST_CACHE_HASH";
|
const stateHash = "RUST_CACHE_HASH";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user