0
0
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:
Arne Schwabe 2016-01-28 16:46:39 +01:00
parent 9554947285
commit 1e4205e221

View File

@ -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();