Skip to content
Permalink
Browse files

Fixed 'undefined' pupups showing up when socket connections error.

  • Loading branch information...
dries007 committed Jul 22, 2017
1 parent bed74b2 commit 082b116b83cd1011244106b50dac971f8cc62f3c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/net/doubledoordev/backend/util/WebSocketHelper.java
@@ -38,7 +38,7 @@ public static void sendError(WebSocket socket, String message)
JsonObject root = new JsonObject();

root.addProperty(STATUS, ERROR);
root.addProperty(DATA, message);
root.addProperty(MESSAGE, message);

socket.send(root.toString());
}

0 comments on commit 082b116

Please sign in to comment.
You can’t perform that action at this time.