Merge pull request #2076 from internetee/2026-mark_orphan_notification_read

Mark orphan notification as read
This commit is contained in:
Timo Võhmar 2021-07-08 17:00:24 +03:00 committed by GitHub
commit 2c0221bb2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -27,6 +27,7 @@ module Epp
Rails.logger.error 'orphan message, error ignored: ' + problem.to_s
# now we should dequeue or delete the messages avoid duplicate log alarms
@notification.mark_as_read
end
end