From: Stricted Date: Thu, 12 Jan 2017 03:26:03 +0000 (+0100) Subject: write ErrorLog if the LTE Module is not reachable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff591fe6bc57e9a7890be874bf041fe1e52ba0bf;p=GitHub%2FStricted%2FSpeedportHybridControl.git write ErrorLog if the LTE Module is not reachable --- diff --git a/SpeedportHybridControl.Implementations/util.cs b/SpeedportHybridControl.Implementations/util.cs index 74ee838..fc743f2 100644 --- a/SpeedportHybridControl.Implementations/util.cs +++ b/SpeedportHybridControl.Implementations/util.cs @@ -255,8 +255,14 @@ namespace SpeedportHybridControl.Implementations { return true; } + else + { + LogManager.WriteToLog("unable to reach LTE Modul"); + } + } + catch (PingException) { + LogManager.WriteToLog("unable to reach LTE Modul"); } - catch (PingException) { } return false; }