Merge pull request #3096 from ajbeamon/fix-invalid-type-detail
Fix invalid trace event detail named "Type" for invalid suppressions
This commit is contained in:
commit
6aec2b9c53
|
@ -1053,7 +1053,7 @@ TraceEvent& TraceEvent::suppressFor( double duration, bool logSuppressedEventCou
|
|||
}
|
||||
}
|
||||
else {
|
||||
TraceEvent(SevWarnAlways, "SuppressionFromNonNetworkThread").detail("Type", type);
|
||||
TraceEvent(SevWarnAlways, "SuppressionFromNonNetworkThread").detail("Event", type);
|
||||
detail("__InvalidSuppression__", ""); // Choosing a detail name that is unlikely to collide with other names
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue