Skip to content

Commit f218d63

Browse files
committed
rewrite error msg
1 parent 8c927a8 commit f218d63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/api/event_handlers.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ func (h *Handler) EmulateMessageToAccountEvent(ctx context.Context, request *oas
420420
}
421421
err = h.storage.SaveTraceWithState(hash, trace, []abi.MethodInvocation{}, 24*time.Hour)
422422
if err != nil {
423-
fmt.Println("not saved to scylla: ", err)
423+
fmt.Println("trace not saved: ", err)
424424
}
425425
}
426426
actions, err := bath.FindActions(ctx, trace, bath.WithInformationSource(h.storage))
@@ -479,7 +479,7 @@ func (h *Handler) EmulateMessageToEvent(ctx context.Context, request *oas.Emulat
479479
}
480480
err = h.storage.SaveTraceWithState(hs, trace, []abi.MethodInvocation{}, 24*time.Hour)
481481
if err != nil {
482-
fmt.Println("not saved to scylla: ", err)
482+
fmt.Println("trace not saved: ", err)
483483
}
484484
}
485485
}
@@ -540,7 +540,7 @@ func (h *Handler) EmulateMessageToTrace(ctx context.Context, request *oas.Emulat
540540
}
541541
err = h.storage.SaveTraceWithState(hs, trace, []abi.MethodInvocation{}, 24*time.Hour)
542542
if err != nil {
543-
fmt.Println("not saved to scylla: ", err)
543+
fmt.Println("trace not saved: ", err)
544544
}
545545
}
546546
}
@@ -674,7 +674,7 @@ func (h *Handler) EmulateMessageToWallet(ctx context.Context, request *oas.Emula
674674
}
675675
err = h.storage.SaveTraceWithState(hash, trace, []abi.MethodInvocation{}, 24*time.Hour)
676676
if err != nil {
677-
fmt.Println("not saved to scylla: ", err)
677+
fmt.Println("trace not saved: ", err)
678678
}
679679
}
680680
t := convertTrace(trace, h.addressBook)

0 commit comments

Comments
 (0)