From 3cf8c238d053bed28e05c711d8eb172525483fd0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 29 May 2018 01:44:50 -0600 Subject: [PATCH] warn when no tokens given --- remote.js | 1 + 1 file changed, 1 insertion(+) diff --git a/remote.js b/remote.js index 756c5fa..9b592db 100644 --- a/remote.js +++ b/remote.js @@ -491,6 +491,7 @@ function run(copts) { function connect() { if (!tokens.length) { + console.warn("[Non-fatal Error] No tokens. Nothing to do."); return; } if (wstunneler) {