mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-11-07 22:46:54 +00:00
Scan/Recheck proxies - Report filter not found as "OK" but with warning
This commit is contained in:
1 parent
56cf6e5ea5
commit
aaceb4ebad
1 file changed
+2
@@ -50,6 +50,8 @@ def construct_blueprint(datastore: ChangeDetectionStore):
|
||||
status.update({'status': 'ERROR', 'length': len(contents), 'text': f"403 - Access denied"})
|
||||
else:
|
||||
status.update({'status': 'ERROR', 'length': len(contents), 'text': f"Status code: {e.status_code}"})
|
||||
except text_json_diff.FilterNotFoundInResponse:
|
||||
status.update({'status': 'OK', 'length': len(contents), 'text': f"OK but CSS/xPath filter not found (page changed layout?)"})
|
||||
except content_fetcher.EmptyReply as e:
|
||||
status.update({'status': 'ERROR OTHER', 'length': len(contents) if contents else 0, 'text': "Empty reply, needs chrome?"})
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user