Skip to content

Commit

Permalink
chore: Add sessionId to BOPS error (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Oct 21, 2024
1 parent e73d702 commit 34c2416
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/export/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export async function generateBOPSPayload({

return exportData;
} catch (e) {
throw new Error(`Cannot generate BOPS payload: ${e}`);
throw new Error(
`Cannot generate BOPS payload for session ${sessionId}: ${e}`,
);
}
}

0 comments on commit 34c2416

Please sign in to comment.