fix(ClientManager): reject login with proper error on timeout or on connection failure (#1947)

This commit is contained in:
SpaceEEC
2017-09-16 20:32:03 +02:00
committed by Crawl
parent ec4c98704f
commit 3ace61a179
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ const Messages = {
FEATURE_USER_ONLY: 'Only user accounts are able to make use of this feature.',
WS_CONNECTION_TIMEOUT: 'The connection to the gateway timed out.',
WS_CONNECTION_EXISTS: 'There is already an existing WebSocket connection.',
WS_NOT_OPEN: (data = 'data') => `Websocket not open to send ${data}`,