diff --git a/src/client-libs/index.js b/src/client-libs/index.js index 803ac15..f173959 100644 --- a/src/client-libs/index.js +++ b/src/client-libs/index.js @@ -94,7 +94,7 @@ app.controller('MailboxController', ["$scope", "$interval", "$http", "$log", fun self.address = response.data.address; self.username = response.data.username; } else { - self.error = "There is a problem with fetching the JSON. (JSON_ERROR). Make sure the backend works corrently using the webbrowser developer tools. Reponse:" + response.data; + self.error = "There is a problem with fetching the JSON. (JSON_ERROR). Reponse:" + response.data; } }, function errorCallback(response) { $log.error(response); diff --git a/src/index.html b/src/index.html index af87056..d05f9f6 100644 --- a/src/index.html +++ b/src/index.html @@ -46,7 +46,15 @@
+ Sorry, there was a problem. +
++ {{$ctrl.error}} +
++ Make sure the backend works corrently using the developer tools of your web browser. +