Skip to content

Commit

Permalink
chore: add log to ease debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Mar 20, 2024
1 parent 7233a12 commit 7c666e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/features/initiative.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,8 @@ export async function feedInitiativesFromDatabase() {

continue;
} else {
console.log(`[${initiativeMap.id}] something went wrong, it will stop all workers`);

throw error;
}
}
Expand Down

0 comments on commit 7c666e1

Please sign in to comment.