Skip to content

Commit

Permalink
Using correct tokens for browser step failure notification
Browse files Browse the repository at this point in the history
  • Loading branch information
meilon authored Dec 30, 2023
1 parent 3d1e102 commit 72abbe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions changedetectionio/update_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ def send_step_failure_notification(self, watch_uuid, step_n):
return
threshold = self.datastore.data['settings']['application'].get('filter_failure_notification_threshold_attempts')
n_object = {'notification_title': "Changedetection.io - Alert - Browser step at position {} could not be run".format(step_n+1),
'notification_body': "Your configured browser step at position {} for {{watch['url']}} "
'notification_body': "Your configured browser step at position {} for {{{{watch_url}}}} "
"did not appear on the page after {} attempts, did the page change layout? "
"Does it need a delay added?\n\nLink: {{base_url}}/edit/{{watch_uuid}}\n\n"
"Does it need a delay added?\n\nLink: {{{{base_url}}}}/edit/{{{{watch_uuid}}}}\n\n"
"Thanks - Your omniscient changedetection.io installation :)\n".format(step_n+1, threshold),
'notification_format': 'text'}

Expand Down

0 comments on commit 72abbe9

Please sign in to comment.