Skip to content

Commit

Permalink
add log to debug (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocthanh1389 authored Oct 2, 2024
1 parent 436098b commit 2b192a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/parser/oneinchv6/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (p *Parser) detectOneInchRfqTrade(order storage.TradeLog) (storage.TradeLog
order, err = p.recursiveDetectOneInchRFQTrades(order, traceCall, &count)
if err != nil {
traceData, _ := json.Marshal(traceCall)
return order, fmt.Errorf("error when parse tracecall %s %w", string(traceData), err)
return order, fmt.Errorf("error when parse tracecall %s %d %w", string(traceData), count, err)
}

return order, nil
Expand Down

0 comments on commit 2b192a0

Please sign in to comment.