Use TraceEvent::error
This commit is contained in:
parent
9dec4bc46a
commit
70c1ac2131
|
@ -3906,7 +3906,7 @@ ACTOR Future<Void> storageServerTracker(
|
|||
.suppressFor(1.0)
|
||||
.detail("Primary", self->primary)
|
||||
.detail("Server", server->id)
|
||||
.detail("ErrorCode", e.code());
|
||||
.error(e, /*includeCancelled*/ true);
|
||||
if (e.code() != error_code_actor_cancelled && errorOut.canBeSet()) {
|
||||
errorOut.sendError(e);
|
||||
wait(delay(0)); // Check for cancellation, since errorOut.sendError(e) could delete self
|
||||
|
|
Loading…
Reference in New Issue