mirror of
https://github.com/Jackett/Jackett
synced 2025-02-01 12:21:35 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ search:
|
|||
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||
sortby: "{{ .Config.sort }}"
|
||||
resorder: "{{ .Config.type }}"
|
||||
error:
|
||||
- selector: div:contains("MySQL Error!")
|
||||
|
||||
rows:
|
||||
selector: div.post
|
||||
|
|
Loading…
Reference in a new issue