mirror of https://github.com/Jackett/Jackett
rapidzona; trap mysql error
so we see a proper error message instead of the useless general no-results-found message
This commit is contained in:
parent
181928364d
commit
ad3784e100
|
@ -93,6 +93,8 @@ search:
|
||||||
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||||
sortby: "{{ .Config.sort }}"
|
sortby: "{{ .Config.sort }}"
|
||||||
resorder: "{{ .Config.type }}"
|
resorder: "{{ .Config.type }}"
|
||||||
|
error:
|
||||||
|
- selector: div:contains("MySQL Error!")
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: div.post
|
selector: div.post
|
||||||
|
|
Loading…
Reference in New Issue