1
0
Fork 0
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:
Garfield69 2024-04-21 09:22:44 +12:00
parent 181928364d
commit ad3784e100

View file

@ -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