Skip to content

Fix rescuing of application errors when call_app! is used.

Compare
Choose a tag to compare
@BobbyMcWho BobbyMcWho released this 18 Feb 18:01
· 52 commits to master since this release
f9dddef

As a consequence of the changes that were merged in #689, errors
thrown by strategies that utilize other_phase (or more specifically
call_app!), would be caught by omniauth, causing headaches for folks
looking to have those errors handled by their application. This
should allow for errors that come from the app to pass through, while
passing errors that come from the authentication phases to the fail!
handler.

Resolves #1030