Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnrushefsky committed Sep 24, 2024
1 parent 887debc commit 6ee8549
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,6 @@ async function main() {
await reportCompleted(work.id, log);
})
.catch(async (e: any) => {
// TODO: REMOVE THIS CONSOLE LOG BEFORE MERGING TO MAIN
console.log(e);
log.error(`Error processing sync config: ${e.message}`);
await reportFailed(work.id, log);
})
Expand All @@ -402,8 +400,6 @@ async function main() {
if (/terminated due to signal/i.test(e.message)) {
log.info("Work was interrupted, likely due to remote cancellation");
} else {
// TODO: REMOVE THIS CONSOLE LOG BEFORE MERGING TO MAIN
console.log(e);
log.error(`Error processing work: ${e.message}`);
await reportFailed(work.id, log);
}
Expand Down

0 comments on commit 6ee8549

Please sign in to comment.