mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ui: direct flaresolverr errors to flaresolverr bug issue template (#13795)
This commit is contained in:
@@ -917,8 +917,7 @@ function doErrorNotify(indexerId, errorMessage, errorEvent) {
|
||||
var githubTemplate = "?template=bug_report.yml&"
|
||||
if (errorMessage.includes("FlareSolverr")) {
|
||||
githubRepo = "FlareSolverr/FlareSolverr";
|
||||
githubText = "FlareSolverr";
|
||||
githubTemplate = "?"
|
||||
githubText = "FlareSolverr"
|
||||
}
|
||||
var githubUrl = "https://github.com/" + githubRepo + "/issues/new" + githubTemplate + "title=[" + indexerId + "] (" + errorEvent + ")";
|
||||
var indexEnd = 2000 - githubUrl.length; // keep url <= 2k #5104
|
||||
|
Reference in New Issue
Block a user