From 6cd47448a6a050965b1900cc016a159adf6923a2 Mon Sep 17 00:00:00 2001 From: debanjandhar12 <49021233+debanjandhar12@users.noreply.github.com> Date: Thu, 26 Aug 2021 16:01:04 +0530 Subject: [PATCH] Improved error messages --- src/ErrorSolution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ErrorSolution.ts b/src/ErrorSolution.ts index 50c1a0d..444137b 100644 --- a/src/ErrorSolution.ts +++ b/src/ErrorSolution.ts @@ -1,7 +1,7 @@ export function findErrorSolution(e) : string { switch(e) { case "failed to issue request": - return "Please ensure Anki with AnkiConnect installed is open in background.\nSee https://github.com/debanjandhar12/Obsidian-Anki-Sync#installation for more information."; + return "Please ensure Anki is open in background. Also ensure AnkiConnect plugin for anki is installed.\nSee https://github.com/debanjandhar12/Obsidian-Anki-Sync#installation for more information."; case "Permission to access anki was denied": return "Please give permission to access anki by clicking Yes when promted or ensuring AnkiConnect config is correct. Otherwise see https://github.com/debanjandhar12/Obsidian-Anki-Sync#installation for more information."; case "collection is not available":