From 83669df329dcd475b4f7f03697dae2260c0babcf Mon Sep 17 00:00:00 2001 From: Deniz <100031702+diezeldev@users.noreply.github.com> Date: Sat, 12 Mar 2022 05:02:27 +0100 Subject: [PATCH] Make disconnect reason in example more apparent when logged out. (#1352) * Add a warning to make people aware of what they should do about the 'Restart Required' message. * More descriptive message when session has been logged out of. --- Example/example.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example/example.ts b/Example/example.ts index b8820db..f3bccf2 100644 --- a/Example/example.ts +++ b/Example/example.ts @@ -75,7 +75,7 @@ const startSock = async() => { if((lastDisconnect.error as Boom)?.output?.statusCode !== DisconnectReason.loggedOut) { startSock() } else { - console.log('connection closed') + console.log('Connection closed. You are logged out.') } }