mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Merge pull request #6810 from sfc-gh-ngoyal/misc-fixes
Convert the ScopeEventFieldTypeMismatch event to a Sev40 in simulation.
This commit is contained in:
commit
b742149869
@ -963,7 +963,7 @@ struct DynamicFieldBase {
|
||||
if (getDerivedTypeName() == metricTypeName<T>())
|
||||
return (DynamicField<T>*)this;
|
||||
|
||||
TraceEvent(SevWarnAlways, "ScopeEventFieldTypeMismatch")
|
||||
TraceEvent(g_network->isSimulated() ? SevError : SevWarnAlways, "ScopeEventFieldTypeMismatch")
|
||||
.detail("EventType", eventType.toString())
|
||||
.detail("FieldName", fieldName().toString())
|
||||
.detail("OldType", getDerivedTypeName().toString())
|
||||
|
Loading…
x
Reference in New Issue
Block a user