We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62c41a commit 0bc91c0Copy full SHA for 0bc91c0
1 file changed
sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ErrorTypeUtil.java
@@ -118,7 +118,7 @@ enum ErrorType {
118
// Requirement source: go/clo:product-requirements-v1
119
public static String extractErrorType(@Nullable Throwable error) {
120
if (error == null) {
121
- // No information about the error; we default to null.
+ // No information about the error; return null so the attribute is not recorded.
122
return null;
123
}
124
0 commit comments