Skip to content

Commit

Permalink
chore: Improve email trigger error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Nov 17, 2023
1 parent a083beb commit 292188f
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 292188f

Please sign in to comment.