مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
don't log exceptions when something can't go to greylog
هذا الالتزام موجود في:
@@ -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)
|
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
|
rescue => e
|
||||||
# Can't log this to GELF. Soz.
|
# Can't log this to GELF. Soz.
|
||||||
if defined?(Raven)
|
|
||||||
Raven.capture_exception(e)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
true
|
true
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم