mirror of
https://github.com/schwabe/ics-openvpn.git
synced 2024-09-20 12:02:28 +02:00
Make parsing of cached log more resilient
This commit is contained in:
parent
9554947285
commit
1e4205e221
@ -129,7 +129,7 @@ class LogFileHandler extends Handler {
|
||||
read = logFile.read(buf, 0, 2);
|
||||
}
|
||||
|
||||
} catch (java.io.IOException e) {
|
||||
} catch (java.io.IOException | java.lang.RuntimeException e) {
|
||||
VpnStatus.logError("Reading cached logfile failed");
|
||||
VpnStatus.logException(e);
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user