summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2016-12-19 14:32:12 +0100
committerVictor Chabbert <chabbertvi@eisti.eu>2016-12-19 14:32:12 +0100
commit5fa35946cdc26506cac1b15ce7e816678a809c59 (patch)
tree5c67cd934c679ee9373bee735612a00cb9308c65 /src/main/resources
parentWorking error saga (diff)
parentAdd react css librairies (diff)
downloadseven-wonders-5fa35946cdc26506cac1b15ce7e816678a809c59.tar.gz
seven-wonders-5fa35946cdc26506cac1b15ce7e816678a809c59.tar.bz2
seven-wonders-5fa35946cdc26506cac1b15ce7e816678a809c59.zip
Merge branch 'master' into feature/websockets-sagas
Diffstat (limited to 'src/main/resources')
-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