Sha256: a80ba78d46140782c52948d719816952108941c8c7fe6d1f6efc95740705880b
Contents?: true
Size: 487 Bytes
Versions: 2
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true module Mihari module Web module Middleware # # Error notification adapter for Rack app # class ErrorNotificationAdapter include Mixins::ErrorNotification def initialize(app) @app = app end def call(env) with_error_notification do status, headers, body = @app.call(env) [status, headers, body] end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mihari-5.7.1 | lib/mihari/web/middleware/error_notification_adapter.rb |
mihari-5.7.0 | lib/mihari/web/middleware/error_notification_adapter.rb |