Log client startup errors to console
[KiwiIRC.git] / client / src / app.js
index 28ddc97e30b829112dc296312c14d73a63ff4156..619507cc7e2569c22b6f35c2cf12d77573571142 100644 (file)
@@ -250,6 +250,9 @@ _kiwi.global = {
             _kiwi.global.plugins = new _kiwi.model.PluginManager();\r
 \r
             callback();\r
+\r
+        }).then(null, function(err) {\r
+            console.error(err.stack);\r
         });\r
     },\r
 \r