Skip to content

Commit

Permalink
code: log api error
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed May 7, 2024
1 parent 19e7aa3 commit 8cf4fc3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ export const RadixConnectRelayApiClient = (input: {
})
return response
})
.mapErr(() => {
.mapErr((error) => {
logger?.debug({
method: `callApi.${body.method}.error`,
error,
})
return SdkError(
'RadixConnectRelayRequestFailed',
Expand Down

0 comments on commit 8cf4fc3

Please sign in to comment.