diff --git a/api.planx.uk/helpers.ts b/api.planx.uk/helpers.ts index 6ee538e977..7e09603aa4 100644 --- a/api.planx.uk/helpers.ts +++ b/api.planx.uk/helpers.ts @@ -77,7 +77,7 @@ const insertFlow = async ( return { id }; } catch (error) { throw Error( - `User ${creatorId} failed to insert flow to teamId ${teamId}. Please check permissions.`, + `User ${creatorId} failed to insert flow to teamId ${teamId}. Please check permissions. Error: ${error}`, ); } };