You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature with high demand, especially for high-loaded apps
For now it can be done with monkey-patching.
Put this to config/initializers/logstasher.rb:
if LogStasher.enabled?
LogStasher::ActiveSupport::LogSubscriber.class_eval do
alias :original_process_action :process_action
def process_action(event)
if event.payload[:exception] # some your condition
original_process_action(event)
end
end
end
end
No description provided.
The text was updated successfully, but these errors were encountered: