Don't suppress actor cancellation because we've already initialized the trace event by adding details.

This commit is contained in:
A.J. Beamon 2020-02-21 11:28:59 -08:00
parent 6810a03283
commit 2e699fef55
1 changed files with 2 additions and 2 deletions

View File

@ -1279,7 +1279,7 @@ ACTOR Future<Void> BgDDMountainChopper( DDQueueData* self, int teamCollectionInd
traceEvent.detail("ResetCount", resetCount);
tr.reset();
} catch (Error& e) {
traceEvent.error(e);
traceEvent.error(e, true); // Log actor_cancelled because it's not legal to suppress an event that's initialized
wait(tr.onError(e));
}
@ -1376,7 +1376,7 @@ ACTOR Future<Void> BgDDValleyFiller( DDQueueData* self, int teamCollectionIndex)
traceEvent.detail("ResetCount", resetCount);
tr.reset();
} catch (Error& e) {
traceEvent.error(e);
traceEvent.error(e, true); // Log actor_cancelled because it's not legal to suppress an event that's initialized
wait(tr.onError(e));
}