Skip to content

Commit 2b8f911

Browse files
committed
rewrite error msg
1 parent 2b6393f commit 2b8f911

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
@@ -381,7 +381,7 @@ func (h *Handler) EmulateMessageToAccountEvent(ctx context.Context, request *oas
381381
}
382382
err = h.storage.SaveTraceWithState(hash, trace, []abi.MethodInvocation{}, 24*time.Hour)
383383
if err != nil {
384-
fmt.Println("not saved to scylla: ", err)
384+
fmt.Println("trace not saved: ", err)
385385
}
386386
}
387387
actions, err := bath.FindActions(ctx, trace, bath.WithInformationSource(h.storage))
@@ -440,7 +440,7 @@ func (h *Handler) EmulateMessageToEvent(ctx context.Context, request *oas.Emulat
440440
}
441441
err = h.storage.SaveTraceWithState(hs, trace, []abi.MethodInvocation{}, 24*time.Hour)
442442
if err != nil {
443-
fmt.Println("not saved to scylla: ", err)
443+
fmt.Println("trace not saved: ", err)
444444
}
445445
}
446446
}
@@ -501,7 +501,7 @@ func (h *Handler) EmulateMessageToTrace(ctx context.Context, request *oas.Emulat
501501
}
502502
err = h.storage.SaveTraceWithState(hs, trace, []abi.MethodInvocation{}, 24*time.Hour)
503503
if err != nil {
504-
fmt.Println("not saved to scylla: ", err)
504+
fmt.Println("trace not saved: ", err)
505505
}
506506
}
507507
}
@@ -635,7 +635,7 @@ func (h *Handler) EmulateMessageToWallet(ctx context.Context, request *oas.Emula
635635
}
636636
err = h.storage.SaveTraceWithState(hash, trace, []abi.MethodInvocation{}, 24*time.Hour)
637637
if err != nil {
638-
fmt.Println("not saved to scylla: ", err)
638+
fmt.Println("trace not saved: ", err)
639639
}
640640
}
641641
t := convertTrace(trace, h.addressBook)

0 commit comments

Comments
 (0)