Skip to content

Commit

Permalink
fix: Logging circular structure to JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Apr 29, 2024
1 parent 6ee9036 commit 226b51d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api.planx.uk/modules/send/uniform/uniform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ async function attachArchive(

// Temp additional logging to debug failures
console.log("*** Uniform attachArchive response ***");
console.log(JSON.stringify(response, null, 2));
console.log({ status: response.status });
console.log(JSON.stringify(response.data, null, 2));
console.log("******");

return isSuccess;
Expand Down

0 comments on commit 226b51d

Please sign in to comment.