Skip to content
Next Next commit
setup node in local
  • Loading branch information
v-priya-kinthali committed Dec 11, 2023
commit 2742b68906f9999f33446ebe6b16b0d313a4db48
1 change: 1 addition & 0 deletions src/cache-save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {getPackageManagerInfo} from './cache-utils';
// Catch and log any unhandled exceptions. These exceptions can leak out of the uploadChunk method in
// @actions/toolkit when a failed upload closes the file descriptor causing any in-process reads to
// throw an uncaught exception. Instead of failing this action, just warn.

process.on('uncaughtException', e => {
const warningPrefix = '[warning]';
core.info(`${warningPrefix}${e.message}`);
Expand Down