Skip to content

Commit 3a6a8d1

Browse files
committed
feat: improve error logs
1 parent 07c0f58 commit 3a6a8d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/routes/swap/swapRouter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ async function findSwap(
7575
error.statusCode,
7676
error.message,
7777
error.errorMessage,
78+
JSON.stringify(error.data),
7879
req.url,
7980
)
8081
if (error instanceof ApiError) {

0 commit comments

Comments
 (0)