From fc103ca6ee4d0d6ab15edacd9c41679d57e86121 Mon Sep 17 00:00:00 2001 From: <> Date: Mon, 1 May 2017 00:45:41 +0000 Subject: [PATCH] added friendly error message for invalid password --- app/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index fa9032c..b1fd339 100644 --- a/app/index.js +++ b/app/index.js @@ -140,7 +140,11 @@ class GlobalBindings { }) } }, err => { - log('Connection error:', err) + if (err.type == 4) { + log('Connection error: invalid server password') + } else { + log('Connection error:', err) + } }) }