Skip to content

Commit

Permalink
Fix rails 7.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bliof-fc committed Feb 12, 2024
1 parent fa1ca1c commit d60061a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/loga/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ def self.included(base) #:nodoc:

private

def render_exception_with_loga(arg, exception)
def render_exception_with_loga(arg, exception, *args)
env = arg.is_a?(ActionDispatch::Request) ? arg.env : arg
env['loga.exception'] = exception
render_exception_without_loga(arg, exception)
render_exception_without_loga(arg, exception, *args)
end
end

Expand Down

0 comments on commit d60061a

Please sign in to comment.