1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-03-04 06:44:06 +00:00

ensure that we only try to log exceptions when raven is available

هذا الالتزام موجود في:
Adam Cooke
2017-04-26 20:54:50 +01:00
الأصل 3d45a5d4f1
التزام 0f10481da0
9 ملفات معدلة مع 33 إضافات و11 حذوفات

عرض الملف

@@ -51,7 +51,9 @@ module Postal
if Rails.env.development?
raise
else
Raven.capture_exception(e)
if defined?(Raven)
Raven.capture_exception(e)
end
@actioned = false
@tracked_links = 0
@tracked_images = 0