Skip to content

Commit

Permalink
setup node in local
Browse files Browse the repository at this point in the history
  • Loading branch information
priya-kinthali committed Dec 11, 2023
1 parent 5ef044f commit 2742b68
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 2742b68

Please sign in to comment.