File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3434import com .google .api .core .InternalApi ;
3535import com .google .api .gax .logging .LoggerProvider ;
3636import com .google .api .gax .logging .LoggingUtils ;
37+ import com .google .api .gax .tracing .ApiTracerContext .Transport ;
3738import com .google .common .annotations .VisibleForTesting ;
3839import com .google .rpc .ErrorInfo ;
3940import java .util .HashMap ;
@@ -80,7 +81,7 @@ void recordActionableError(Throwable error) {
8081
8182 logContext .put (
8283 ObservabilityAttributes .RPC_RESPONSE_STATUS_ATTRIBUTE ,
83- ObservabilityUtils .extractStatus (error ));
84+ ObservabilityUtils .extractStatus (error , Transport . GRPC ));
8485
8586 ErrorInfo errorInfo = ObservabilityUtils .extractErrorInfo (error );
8687 if (errorInfo != null ) {
You can’t perform that action at this time.
0 commit comments