1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00

style(rubocop): Lint/SuppressedException

هذا الالتزام موجود في:
Adam Cooke
2024-02-10 23:31:42 +00:00
الأصل bab6346239
التزام 278ef0886a
2 ملفات معدلة مع 2 إضافات و0 حذوفات

عرض الملف

@@ -222,6 +222,7 @@ class MessagesController < ApplicationController
time = Chronic.parse(string, context: :past)
end
rescue StandardError
time = nil
end
raise TimeUndetermined, "Couldn't determine a suitable time from '#{string}'" if time.nil?

عرض الملف

@@ -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