Skip to content

Commit

Permalink
Merge branch 'develop' into 1.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Mar 11, 2024
2 parents ae429d1 + 3979ec2 commit 311a100
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ public void get(final String url,
Charset.forName(encoding));
}

msg = "An error occurred when downloading the file ("
+ httpUrlConnection.getResponseCode() + "): "
+ errorResponse;
msg = String.format("An error occurred when downloading the file (%s): %s",
httpUrlConnection.getResponseCode(),
errorResponse);
} catch (final IOException | NullPointerException ignored) {
}
}
Expand Down

0 comments on commit 311a100

Please sign in to comment.