You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stringmessage = String.format("file open failure {file=%s}", config.getFile());
thrownewRuntimeException(message);
}
If an error happens while opening the file the IOException is ignored just a generic Runtime Exception is thrown. The original exception should be added as the inner cause for the Runtime Exception.
throw new RuntimeException(message, error);
or at least log the IOException
The text was updated successfully, but these errors were encountered:
vy
added a commit
that referenced
this issue
May 9, 2022
rotating-fos/src/main/java/com/vlkan/rfos/RotatingFileOutputStream.java
Lines 110 to 113 in 8967d56
If an error happens while opening the file the IOException is ignored just a generic Runtime Exception is thrown. The original exception should be added as the inner cause for the Runtime Exception.
or at least log the IOException
The text was updated successfully, but these errors were encountered: