From 936ce42cc0fb255f383e4438923a42c84ea1af5e Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sun, 10 Sep 2017 14:24:00 +0200 Subject: [PATCH] Remove duplicate logging. --- .../nightscout/androidaps/plugins/PumpDanaR/SerialIOThread.java | 2 -- .../androidaps/plugins/PumpDanaRKorean/SerialIOThread.java | 2 -- .../androidaps/plugins/PumpDanaRv2/SerialIOThread.java | 2 -- 3 files changed, 6 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/SerialIOThread.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/SerialIOThread.java index fabda4e26a..af3b852aa6 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/SerialIOThread.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/SerialIOThread.java @@ -159,7 +159,6 @@ public class SerialIOThread extends Thread { mOutputStream.write(messageBytes); } catch (Exception e) { log.error("sendMessage write exception: ", e); - log.error("Unhandled exception", e); } synchronized (message) { @@ -167,7 +166,6 @@ public class SerialIOThread extends Thread { message.wait(5000); } catch (InterruptedException e) { log.error("sendMessage InterruptedException", e); - log.error("Unhandled exception", e); } } diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/SerialIOThread.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/SerialIOThread.java index 5a8b7fe564..566b32831f 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/SerialIOThread.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/SerialIOThread.java @@ -160,7 +160,6 @@ public class SerialIOThread extends Thread { mOutputStream.write(messageBytes); } catch (Exception e) { log.error("sendMessage write exception: ", e); - log.error("Unhandled exception", e); } synchronized (message) { @@ -168,7 +167,6 @@ public class SerialIOThread extends Thread { message.wait(5000); } catch (InterruptedException e) { log.error("sendMessage InterruptedException", e); - log.error("Unhandled exception", e); } } diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRv2/SerialIOThread.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRv2/SerialIOThread.java index 130657b14d..244014f3d0 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRv2/SerialIOThread.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRv2/SerialIOThread.java @@ -160,7 +160,6 @@ public class SerialIOThread extends Thread { mOutputStream.write(messageBytes); } catch (Exception e) { log.error("sendMessage write exception: ", e); - log.error("Unhandled exception", e); } synchronized (message) { @@ -168,7 +167,6 @@ public class SerialIOThread extends Thread { message.wait(5000); } catch (InterruptedException e) { log.error("sendMessage InterruptedException", e); - log.error("Unhandled exception", e); } }