Add more Logging

On Module load catch Exceptions and not load the plugin
This commit is contained in:
2018-09-13 22:03:19 +00:00
parent db4c2cd4e8
commit e37a88ac38
7 changed files with 21 additions and 11 deletions
+2
View File
@@ -18,6 +18,8 @@ namespace BlubbFish.Utils.IoT.Bots.Moduls {
if (this.config.ContainsKey("settings")) {
this.connectionWatcher = new Thread(this.ConnectionWatcherRunner);
this.connectionWatcher.Start();
} else {
throw new ArgumentException("Setting section [settings] is missing!");
}
}
#endregion