[TIC-Web] remove profile button group and add error handler of http request
[archive/20170607/tools/tic.git] / public / src / js / main.js
index e1e6561..849dd2a 100644 (file)
@@ -34,7 +34,7 @@ define([
         .catch(function (reason) {
             logger.error(reason);
             Util.showLoadingDialog(false);
-            Util.showAlertDialog('Failed to load package list.<br>Please check the tic-core.');
+            Util.showAlertDialog('Failed to load package list.<br>Please check the tic-core.<br>Error: ' + reason);
         });
 
         // Keep the state of the active item on navbar