Skip to content

Commit

Permalink
chore: Improve email trigger error logging (#2436)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Nov 17, 2023
1 parent 20d5f22 commit b2fc694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.planx.uk/modules/saveAndReturn/service/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const setupEmailEventTriggers = async (sessionId: string) => {
return hasUserSaved;
} catch (error) {
throw new Error(
`Error setting up email notifications for session ${sessionId}`,
`Error setting up email notifications for session ${sessionId}. Error: ${error}`,
);
}
};
Expand Down

0 comments on commit b2fc694

Please sign in to comment.