Skip to content

Commit 3f97aa1

Browse files
committed
fix debug messages in connection checker
1 parent a5f3db1 commit 3f97aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/Client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ class Client extends EventEmitter {
110110
try {
111111
await this.user.getRegistrationStatus();
112112
} catch (e) {
113-
debugLog(e);
114113
if (isNonCriticalError(e)) {
115114
if (this.settings.debug) {
116-
debugLog("Received UnauthenticatedQuoteException error. Ignoring");
115+
debugLog(`Ignoring error: ${e.reply?.body[0]}.`);
117116
}
118117
} else {
118+
debugLog(e);
119119
if (this.settings.debug) {
120120
debugLog("Disconnect");
121121
}

0 commit comments

Comments
 (0)