diff options
author | Arne Schwabe <arne@rfc2549.org> | 2016-01-28 16:46:39 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2016-01-28 16:46:39 +0100 |
commit | 1e4205e221c6b4ac08da16359aa1d79800bd05a3 (patch) | |
tree | 349018e1dee797e109a1fb0f3dff6794ce93ecc0 /main | |
parent | 95549472859660bb6bd4bd45fc0d00c86e970d22 (diff) |
Make parsing of cached log more resilient
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/core/LogFileHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/LogFileHandler.java b/main/src/main/java/de/blinkt/openvpn/core/LogFileHandler.java index e3422df0..5c1741d9 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/LogFileHandler.java +++ b/main/src/main/java/de/blinkt/openvpn/core/LogFileHandler.java @@ -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(); |