added friendly error message for invalid password
This commit is contained in:
parent
b07057d509
commit
fc103ca6ee
|
@ -140,7 +140,11 @@ class GlobalBindings {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, err => {
|
}, err => {
|
||||||
log('Connection error:', err)
|
if (err.type == 4) {
|
||||||
|
log('Connection error: invalid server password')
|
||||||
|
} else {
|
||||||
|
log('Connection error:', err)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue