summaryrefslogtreecommitdiff
path: root/src/main/resources/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/static')
-rw-r--r--src/main/resources/static/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/static/app.js b/src/main/resources/static/app.js
index b1881357..ace23fdb 100644
--- a/src/main/resources/static/app.js
+++ b/src/main/resources/static/app.js
@@ -19,7 +19,8 @@ function connect() {
console.log('Connected: ' + frame);
stompClient.subscribe('/user/queue/errors', function (msg) {
- console.error(msg.body);
+ var error = JSON.parse(msg.body);
+ console.error(error);
});
stompClient.subscribe('/topic/games', function (msg) {
bgstack15