Commit ce14f63
authored
fix(debug): include request amount in swap failure logs (#9)
* fix(debug): include request amount in swap failure logs
Add the `amount` field to debug output in `logSwapExecutionFailure` so
both sides of a quote are visible: the requested amount and the quoted
amount. For fixed-input swaps this shows the requested input; for
fixed-output swaps it shows the requested output. The field is only
present on `SwapQuote` objects, so a runtime check guards access.
* style(debug): fix prettier formatting1 parent 39ef7fa commit ce14f63
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments