Skip to content

Commit 0bc91c0

Browse files
committed
docs: improve comment
1 parent f62c41a commit 0bc91c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ErrorTypeUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ enum ErrorType {
118118
// Requirement source: go/clo:product-requirements-v1
119119
public static String extractErrorType(@Nullable Throwable error) {
120120
if (error == null) {
121-
// No information about the error; we default to null.
121+
// No information about the error; return null so the attribute is not recorded.
122122
return null;
123123
}
124124

0 commit comments

Comments
 (0)