From b0320dac1910cece58a841f28c541bf49dfe505b Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Wed, 12 Jul 2023 19:03:31 -0400 Subject: [PATCH] Add error message --- src/bot.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index 5b4a52d..3c97050 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -1340,7 +1340,11 @@ class LemmyBot { extractedInstance = extractInstanceFromActorId( community.community.actor_id ); - } catch {} + } catch { + console.log( + `Could not find !${localOptions.name}@${localOptions.instance}` + ); + } return ( (community.community.name === localOptions.name || community.community.title === localOptions.name) &&