Skip to content

Commit

Permalink
Merge pull request #420 from bcgov/test-logging
Browse files Browse the repository at this point in the history
debugging with logs
  • Loading branch information
barrfalk authored Oct 16, 2023
2 parents a935f6d + 0439630 commit bda3042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/client/src/utilities/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ async function request(
err.response.data.code &&
err.response.data.description
) {
console.log(err.response.data);
console.log(err.response.data.description);
return Promise.reject(
new ApiError(err.response.data.code, err.response.data.description)
);
Expand Down

0 comments on commit bda3042

Please sign in to comment.