diff --git a/src/Jackett.Common/Content/custom.js b/src/Jackett.Common/Content/custom.js index 4ffc45bea..a7b8df8d4 100644 --- a/src/Jackett.Common/Content/custom.js +++ b/src/Jackett.Common/Content/custom.js @@ -923,8 +923,12 @@ function doErrorNotify(indexerId, errorMessage, errorEvent) { var indexEnd = 2000 - githubUrl.length; // keep url <= 2k #5104 var htmlEscapedError = $("
").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 + ".", + var link = "Click here to open an issue on GitHub for " + githubText + "."; + if (errorMessage.includes("FlareSolverr is not configured")) { + link = "Instructions to install and configure FlareSolverr.
" + + "Troubleshooting frecuent errors with FlareSolverr."; + } + doNotify("An error occurred while " + errorEvent + " this indexer
" + htmlEscapedError + "
" + link, "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.", diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html index ea2983fa5..7729acc96 100644 --- a/src/Jackett.Common/Content/index.html +++ b/src/Jackett.Common/Content/index.html @@ -750,6 +750,6 @@ - +