").text(errorMessage.substring(0, indexEnd)).html();
+ var urlEscapedError = encodeURIComponent(errorMessage.substring(0, indexEnd));
+ doNotify("An error occurred while " + errorEvent + " this indexer
" + htmlEscapedError + "" +
+ "
Click here to open an issue on GitHub for " + githubText + ".",
+ "danger", "glyphicon glyphicon-alert", false);
+ } else {
+ doNotify("An error occurred while " + errorEvent + " indexers, please take a look at indexers with failed test for more information.",
+ "danger", "glyphicon glyphicon-alert");
+ }
+}
+
function doNotify(message, type, icon, autoHide) {
if (typeof autoHide === "undefined" || autoHide === null)
autoHide = true;
diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html
index ea4312d98..ea2983fa5 100644
--- a/src/Jackett.Common/Content/index.html
+++ b/src/Jackett.Common/Content/index.html
@@ -750,6 +750,6 @@
-
+