mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
ship_processor.go: Print error when encoding fails.
This commit is contained in:
parent
cd8eae6331
commit
bfaaacc3ad
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ func processTraces(traces []*ship.TransactionTraceV0) {
|
|||
|
||||
payload, err := json.Marshal(act)
|
||||
if err != nil {
|
||||
log.Println("Failed to encode action:")
|
||||
log.Println("Failed to encode action:", err)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue