File tree Expand file tree Collapse file tree 1 file changed +3
-3
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 +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,13 @@ enum ErrorType {
112112 * </ol>
113113 *
114114 * @param error the Throwable from which to extract the error type string.
115- * @return a low-cardinality string representing the specific error type, or {@code
116- * ErrorType.INTERNAL.toString()} if the provided error is {@code null} or non-determined.
115+ * @return a low-cardinality string representing the specific error type, or {@code null} if the
116+ * provided error is {@code null} or non-determined.
117117 */
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 INTERNAL .
121+ // No information about the error; we default to null .
122122 return null ;
123123 }
124124
You can’t perform that action at this time.
0 commit comments