Skip to content

Commit

Permalink
Remove no longer needed catch clause
Browse files Browse the repository at this point in the history
  • Loading branch information
mackdk committed Oct 2, 2023
1 parent e76b6c3 commit 95e9d5a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions java/code/src/com/redhat/rhn/common/util/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,6 @@ public static String getTailOfFile(String pathToFile, Integer lines) {
log.error("File not found: {}", pathToFile);
throw new RuntimeException(e);
}
catch (IOException e) {
log.error("Could not read from: {}", pathToFile);
throw new RuntimeException(e);
}
finally {
org.apache.commons.io.IOUtils.closeQuietly(fileStream);
}
Expand Down

0 comments on commit 95e9d5a

Please sign in to comment.