We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b0c01c + 5f40e34 commit 395bb17Copy full SHA for 395bb17
google-http-client/src/main/java/com/google/api/client/http/HttpRequest.java
@@ -999,7 +999,9 @@ public HttpResponse execute() throws IOException {
999
}
1000
// Save the exception in case the retries do not work and we need to re-throw it later.
1001
executeException = e;
1002
- logger.log(Level.WARNING, "exception thrown while executing request", e);
+ if (loggable) {
1003
+ logger.log(Level.WARNING, "exception thrown while executing request", e);
1004
+ }
1005
1006
1007
// Flag used to indicate if an exception is thrown before the response has completed
0 commit comments