We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30fd42d commit 02af7d5Copy full SHA for 02af7d5
1 file changed
google-cloud-logging/src/main/java/com/google/cloud/logging/spi/DefaultLoggingRpc.java
@@ -159,7 +159,7 @@ private static <V> Future<V> translate(
159
new Function<ApiException, V>() {
160
@Override
161
public V apply(ApiException exception) {
162
- if (returnNullOnSet.contains(exception.getStatusCode().value())) {
+ if (returnNullOnSet.contains(exception.getStatusCode())) {
163
return null;
164
}
165
throw new LoggingException(exception, idempotent);
0 commit comments