Skip to content

Commit

Permalink
Improved error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjandhar12 committed Aug 26, 2021
1 parent 26116b0 commit 6cd4744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ErrorSolution.ts
Original file line number Diff line number Diff line change
@@ -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":
Expand Down

0 comments on commit 6cd4744

Please sign in to comment.