Fix log for reenabling a notification
We forgot to log the event and method names
This commit is contained in:
parent
e45ffb39d1
commit
11659f73bf
2 changed files with 8 additions and 5 deletions
|
@ -139,8 +139,9 @@ def reset_notification_number_of_failures(namespace_name, repository_name, uuid)
|
|||
notification.repository.name != repository_name):
|
||||
raise InvalidNotificationException('No repository notification found with uuid: %s' % uuid)
|
||||
reset_number_of_failures_to_zero(notification.id)
|
||||
return notification
|
||||
except RepositoryNotification.DoesNotExist:
|
||||
pass
|
||||
return None
|
||||
|
||||
|
||||
def reset_number_of_failures_to_zero(notification_id):
|
||||
|
|
Reference in a new issue