Skip to content

Commit

Permalink
use context.message for AuthError
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Aug 27, 2024
1 parent 1f316c3 commit 8c103db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def authenticate_request
if result.success?
@identity = result.identity
else
raise AuthError
raise AuthError.new result.message
end
end

Expand Down

0 comments on commit 8c103db

Please sign in to comment.