From 1689a6f6c1927b6e7979406fe427c4ce3697fb29 Mon Sep 17 00:00:00 2001 From: Gregor_Dutzler Date: Fri, 6 Dec 2019 10:41:36 +0100 Subject: [PATCH] 6.12.2019 --- src/java/com/wasteinformationserver/main.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java/com/wasteinformationserver/main.java b/src/java/com/wasteinformationserver/main.java index b76f2fd..be98985 100644 --- a/src/java/com/wasteinformationserver/main.java +++ b/src/java/com/wasteinformationserver/main.java @@ -35,6 +35,7 @@ public class main { } }).start(); + //startup web server Thread mythread = new Thread(() -> new Webserver().startserver()); mythread.start(); @@ -46,9 +47,7 @@ public class main { mqtt m = new mqtt(); m.notifymessage(); } catch (Exception e) { - e.printStackTrace(); + Log.debug("An error was happened in the class mqtt"); } - - } }