From c9ac22c8386ccf24b73855c61d28e6bfb4a1d9ad Mon Sep 17 00:00:00 2001 From: Sorunome Date: Thu, 26 Mar 2020 21:34:40 +0100 Subject: [PATCH] add more logging --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 376f014..2071122 100644 --- a/src/index.ts +++ b/src/index.ts @@ -126,6 +126,7 @@ async function run() { data.state = client.getState; await client.disconnect(); } catch (err) { + log.warn("Failed to log in as new user, perhaps the password is worng?", err); retData.error = "Username or password wrong"; return retData; }