Skip to content

Commit

Permalink
Log the fact that a jar is being sent over channel (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe authored Oct 16, 2024
1 parent c25d9b2 commit 9e0d174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/hudson/remoting/JarLoaderImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public void writeJarTo(long sum1, long sum2, OutputStream sink) throws IOExcepti
if (channel != null) {
if (url.getProtocol().equals("file")) {
try {
LOGGER.log(Level.FINE, () -> "sending " + url + " to " + channel.getName());
channel.notifyJar(new File(url.toURI()));
} catch (URISyntaxException | IllegalArgumentException x) {
LOGGER.log(Level.WARNING, x, () -> "cannot properly report " + url);
Expand Down

0 comments on commit 9e0d174

Please sign in to comment.