diff --git a/java/code/src/com/redhat/rhn/common/util/FileUtils.java b/java/code/src/com/redhat/rhn/common/util/FileUtils.java index 1d34b5c54e4a..3e54559c99f5 100644 --- a/java/code/src/com/redhat/rhn/common/util/FileUtils.java +++ b/java/code/src/com/redhat/rhn/common/util/FileUtils.java @@ -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); }