def notify(exception, request = {}, environment = {}, session = {})
      begin
        notification = Notification.new(exception, request, environment, session)

        @notifiers.each do |notifier|
          notifier.notify(notification)
        end

      # We need to ignore all the exceptions thrown by the notifiers.
      rescue Exception
        warn('Rusen: Some or all the notifiers failed to sent the notification.')
      end
    end
def notify(exception, request = {}, environment = {}, session = {})
      begin
        notification = Notification.new(exception, request, environment, session)

        @notifiers.each do |notifier|
          notifier.notify(notification)
        end

      # We need to ignore all the exceptions thrown by the notifiers.
      rescue Exception
        warn('Rusen: Some or all the notifiers failed to sent the notification.')
      end
    end
Sends a notification to the configured outputs.

 @param [Exception] exception The error.
 @param [Hash<Object, Object>] request The request params
 @param [Hash<Object, Object>] environment The environment status.
 @param [Hash<Object, Object>] session The session status.