File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Elasticsearch.Net/Connection/RequestState Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ public TransportRequestState(
102102 string path )
103103 {
104104 this . _requestId = TransportRequestState . RequestId ;
105+ this . Method = method ;
106+ this . Path = path ;
105107 this . StartedOn = DateTime . UtcNow ;
106108 this . SeenNodes = new List < Uri > ( ) ;
107109 this . SeenExceptions = new List < Exception > ( ) ;
@@ -116,13 +118,11 @@ public TransportRequestState(
116118 {
117119 Trace . TraceInformation ( "NEST start:{0} {1} {2}"
118120 , this . _requestId
119- , _result . RequestMethod
120- , _result . RequestUrl
121+ , this . Method
122+ , this . Path
121123 ) ;
122124 }
123125
124- this . Method = method ;
125- this . Path = path ;
126126 if ( this . RequestParameters != null )
127127 {
128128 if ( this . RequestParameters . QueryString != null )
You can’t perform that action at this time.
0 commit comments