Skip to content

Commit

Permalink
chore: have process exit with error if condition is met
Browse files Browse the repository at this point in the history
  • Loading branch information
AntBush authored and ccbc-service-account committed Nov 15, 2024
1 parent 154d803 commit e47ac31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cron/sp/app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ async function main() {
console.log('Response', response);
} catch (error) {
console.error('Error:', error);
process.exitCode = 1;
}
}

Expand Down

0 comments on commit e47ac31

Please sign in to comment.