-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
So I tracked this down to TransportRequestState.cs... If you don't enable metrics (which we are not). Then you will get null refs all over this class....
public void Dispose()
{
if (!_traceEnabled || this._result == null)
return;
if (_result.Success)
{
Trace.TraceInformation("NEST {0} {1} ({2}):\r\n{3}"
, _result.RequestMethod
, _result.RequestUrl
, _stopwatch.Elapsed <---- NULL REF
, _result
);
}
else
{
Trace.TraceError(
"NEST {0} {1} ({2}):\r\n{3}"
, _result.RequestMethod
, _result.RequestUrl
, _stopwatch.Elapsed.ToString() <---- NULL REF
, _result.ToString()
);
}
}
Metadata
Metadata
Assignees
Labels
No labels