Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- changed: Convert the build tooling from Yarn to npm.
- changed: Pin ethers to exactly 5.7.0.
- security: Upgrade dependencies per Socket security recommendations.
- fixed: (Exolix) Log readable JSON swap error responses instead of "[object Object]".

## 2.46.0 (2026-04-18)

Expand Down
2 changes: 1 addition & 1 deletion src/swap/central/exolix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export function makeExolixPlugin(opts: EdgeCorePluginOptions): EdgeSwapPlugin {
return resJson
}

log.warn(`Error retrieving Exolix quote: ${String(resJson)}`)
log.warn(`Error retrieving Exolix quote: ${JSON.stringify(resJson)}`)
throw new SwapCurrencyError(swapInfo, request)
}
throw new Error(`Exolix returned error code ${response.status}`)
Expand Down
Loading