Skip to content

Commit

Permalink
improve email error logging (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
nafiz1001 authored Nov 5, 2024
1 parent a8ff288 commit 133b913
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions triton-server/src/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ export const start = async () => {
config.cron.notification,
() => {
logger.info("Executing notification service.")
sendLatestReleasedNotificationEmail()
sendDatasetValidationStatusUpdateEmail()
sendLatestReleasedNotificationEmail().catch((err) =>
logger.error(err),
)
sendDatasetValidationStatusUpdateEmail().catch((err) =>
logger.error(err),
)
},
{ runOnInit: true },
)
Expand Down

0 comments on commit 133b913

Please sign in to comment.