Skip to content

Commit 02af7d5

Browse files
committed
fix DefaultLoggingRpc
1 parent 30fd42d commit 02af7d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-logging/src/main/java/com/google/cloud/logging/spi/DefaultLoggingRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private static <V> Future<V> translate(
159159
new Function<ApiException, V>() {
160160
@Override
161161
public V apply(ApiException exception) {
162-
if (returnNullOnSet.contains(exception.getStatusCode().value())) {
162+
if (returnNullOnSet.contains(exception.getStatusCode())) {
163163
return null;
164164
}
165165
throw new LoggingException(exception, idempotent);

0 commit comments

Comments
 (0)