diff options
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/Main.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/Main.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/Main.java b/juick-www/src/main/java/com/juick/www/Main.java index a08ea73e..e8d53e51 100644 --- a/juick-www/src/main/java/com/juick/www/Main.java +++ b/juick-www/src/main/java/com/juick/www/Main.java @@ -32,6 +32,7 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; +import java.net.ConnectException; import java.net.Socket; import java.net.URLEncoder; import java.util.Properties; @@ -99,7 +100,7 @@ public class Main extends HttpServlet implements Stream.StreamListener { xmpp.addListener(Main.this); xmpp.startParsing(); } catch (IOException e) { - log("xmpp exception", e); + log("XMPP is not initialized"); } }); thr.start(); |