From 89a3d6789cb1ed00b0082b6074fe59b3a8033464 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2017 12:30:35 +0900 Subject: [API] Improve: Better error message --- src/api/streaming.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/streaming.ts') diff --git a/src/api/streaming.ts b/src/api/streaming.ts index 49269ac445..7a8d2d4354 100644 --- a/src/api/streaming.ts +++ b/src/api/streaming.ts @@ -68,7 +68,7 @@ function authenticate(connection: websocket.connection, token: string): Promise< }); if (accessToken == null) { - return reject('invalid token'); + return reject('invalid signature'); } // Fetch user -- cgit v1.2.3-freya