summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2016-01-28 16:46:39 +0100
committerArne Schwabe <arne@rfc2549.org>2016-01-28 16:46:39 +0100
commit1e4205e221c6b4ac08da16359aa1d79800bd05a3 (patch)
tree349018e1dee797e109a1fb0f3dff6794ce93ecc0 /main/src
parent95549472859660bb6bd4bd45fc0d00c86e970d22 (diff)
Make parsing of cached log more resilient
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/LogFileHandler.java2
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();