Commit 19ef112
committed
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.1 parent 39ef7fa commit 19ef112
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
0 commit comments