Skip to content

Commit fe5ee04

Browse files
committed
docs(o11y): fix Javadoc for extractErrorType
1 parent 86d6cab commit fe5ee04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -111,7 +111,7 @@ public enum ErrorType {
111111
* </ol>
112112
*
113113
* @param error the Throwable from which to extract the error type string.
114-
* @return a low-cardinality string representing the specific error type, or {@code null} if the
114+
* @return a low-cardinality string representing the specific error type, or {@code ErrorType.INTERNAL.toString()} if the
115115
* provided error is {@code null}.
116116
*/
117117
public static String extractErrorType(@Nullable Throwable error) {

0 commit comments

Comments
 (0)