mirror of
https://github.com/plantroon/mx-puppet-xmpp.git
synced 2024-12-22 22:51:42 +00:00
add more logging
This commit is contained in:
parent
f29399e86e
commit
c9ac22c838
@ -126,6 +126,7 @@ async function run() {
|
|||||||
data.state = client.getState;
|
data.state = client.getState;
|
||||||
await client.disconnect();
|
await client.disconnect();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
log.warn("Failed to log in as new user, perhaps the password is worng?", err);
|
||||||
retData.error = "Username or password wrong";
|
retData.error = "Username or password wrong";
|
||||||
return retData;
|
return retData;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user