mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +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)
|
payload, err := json.Marshal(act)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("Failed to encode action:")
|
log.Println("Failed to encode action:", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue