mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
style(rubocop): Lint/SuppressedException
This commit is contained in:
@@ -11,6 +11,7 @@ class SendWebhookJob < Postal::Job
|
||||
begin
|
||||
new_items[::Regexp.last_match(1)] = server.message_db.message(value.to_i).webhook_hash
|
||||
rescue Postal::MessageDB::Message::NotFound
|
||||
# No message found, don't do any replacement
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user