aboutsummaryrefslogtreecommitdiff
path: root/ext/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-02-20 09:35:54 -0500
committerGitHub <noreply@github.com>2022-02-20 09:35:54 -0500
commit48b2807120928654ae52ea78bd7d2d9824eaa05e (patch)
tree9732815074e7343fa38f8a6e91f7d8af9ab72b58 /ext/settings.html
parent045eb63a52697b4436c935d4db1716762fef5eb8 (diff)
Add support for logging Anki errors on the settings page (#2073)
Diffstat (limited to 'ext/settings.html')
-rw-r--r--ext/settings.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/settings.html b/ext/settings.html
index 6452a335..406ee345 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -1569,6 +1569,9 @@
</div>
</div>
<div class="settings-item-children" id="anki-error-message-details-container" hidden>
+ <p>
+ <a tabindex="0" id="anki-error-log">Log error to console</a>
+ </p>
<p class="danger-text" id="anki-error-invalid-response-info" hidden>
Attempting to connect to Anki can sometimes return an error message which includes "Invalid response",
which may indicate that the value of the <em>AnkiConnect server address</em> option is incorrect.