lib/honeybadger/notification_subscriber.rb in honeybadger-5.15.1 vs lib/honeybadger/notification_subscriber.rb in honeybadger-5.15.2
- old
+ new
@@ -38,12 +38,18 @@
payload.except(:headers, :request, :response)
end
end
class ActionControllerCacheSubscriber < NotificationSubscriber
+ def format_payload(payload)
+ payload.except(:key)
+ end
end
class ActiveSupportCacheSubscriber < NotificationSubscriber
+ def format_payload(payload)
+ payload.except(:key)
+ end
end
class ActionViewSubscriber < NotificationSubscriber
PROJECT_ROOT = defined?(::Rails) ? ::Rails.root.to_s : ''