File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,6 @@ public function export(iterable $spans): int
146146 return Trace \Exporter::FAILED_RETRYABLE ;
147147 }
148148
149- $ statusCode = $ response ->getStatusCode ();
150- $ reason = $ response ->getReasonPhrase ();
151-
152- // Useful information for when logging is implemented.
153- /*
154- * echo "\nsendRequest response = " . $statusCode . "\n";
155- * echo "\nsendRequest response = " . $reason . "\n";
156- */
157149 if ($ response ->getStatusCode () >= 400 && $ response ->getStatusCode () < 500 ) {
158150 return Trace \Exporter::FAILED_NOT_RETRYABLE ;
159151 }
Original file line number Diff line number Diff line change @@ -135,11 +135,6 @@ public function export(iterable $spans): int
135135 return Trace \Exporter::FAILED_RETRYABLE ;
136136 }
137137
138- $ statusCode = $ response ->getStatusCode ();
139- $ reason = $ response ->getReasonPhrase ();
140- echo "\nsendRequest response = " . $ statusCode . "\n" ;
141- echo "\nsendRequest response = " . $ reason . "\n" ;
142-
143138 if ($ response ->getStatusCode () >= 400 && $ response ->getStatusCode () < 500 ) {
144139 return Trace \Exporter::FAILED_NOT_RETRYABLE ;
145140 }
You can’t perform that action at this time.
0 commit comments