Commit fc103ca6 authored by 's avatar
Browse files

added friendly error message for invalid password

parent b07057d5
......@@ -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)
}
})
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment