1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

don't log exceptions when something can't go to greylog

هذا الالتزام موجود في:
Adam Cooke
2017-06-02 17:59:26 +01:00
الأصل 1547022b2a
التزام 9f9cdc6a47

عرض الملف

@@ -21,9 +21,6 @@ module Postal
n.notify!(:short_message => message_without_ansi, :log_name => @log_name, :facility => 'postal', :application_name => 'postal', :process_name => ENV['PROC_NAME'], :pid => Process.pid)
rescue => e
# Can't log this to GELF. Soz.
if defined?(Raven)
Raven.capture_exception(e)
end
end
end
true