Skip to content

Commit

Permalink
chore: Improve add member error message [skip pizza]
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Mar 27, 2024
1 parent 5876082 commit adbc3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.planx.uk/modules/team/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const addMember: UpsertMember = async (_req, res, next) => {
} catch (error) {
return next(
new ServerError({
message: "Failed to add member to team",
message: `Failed to add member ${userEmail} to team ${teamSlug}. Error: ${error}`,
cause: error,
}),
);
Expand Down

0 comments on commit adbc3a1

Please sign in to comment.