Skip to content

Commit

Permalink
Update src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScr…
Browse files Browse the repository at this point in the history
…ipt.java

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
  • Loading branch information
lne3 and jglick authored Jan 5, 2024
1 parent 7ffdb69 commit 0d243db
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ public Integer invoke(File f, VirtualChannel channel) throws IOException, Interr
}
}
} catch (NumberFormatException x) {
LOGGER.log(Level.WARNING, "corrupted content in {0} when reading with charset {1}: {2}", new Object[] {f, charset, x});
throw new IOException("corrupted content in " + f + ": " + x, x);
throw new IOException("corrupted content in " + f + " using " + charset + ": " + x, x);

Check warning on line 393 in src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScript.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 303-393 are not covered by tests
}
}
return null;
Expand Down

0 comments on commit 0d243db

Please sign in to comment.