diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index d9004a98..9a54a33d 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -1427,6 +1427,13 @@ def changedetection_app(config=None, datastore_o=None): update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': uuid, 'skip_when_checksum_same': False})) flash("{} watches queued for rechecking".format(len(uuids))) + elif (op == 'clear-errors'): + for uuid in uuids: + uuid = uuid.strip() + if datastore.data['watching'].get(uuid): + datastore.data['watching'][uuid]["last_error"] = False + flash(f"{len(uuids)} watches errors cleared") + elif (op == 'clear-history'): for uuid in uuids: uuid = uuid.strip() diff --git a/changedetectionio/templates/watch-overview.html b/changedetectionio/templates/watch-overview.html index 16a56294..61797b67 100644 --- a/changedetectionio/templates/watch-overview.html +++ b/changedetectionio/templates/watch-overview.html @@ -37,6 +37,7 @@ +