You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever a network/connection problem it could be useful to distinguish it directly from a logic authentication error.
This could improve filtering based on exception type (ie: to handle logging in django integration).
Actual behaviour
Currently the wrapper on remote requests intercepts connection-related exceptions and transforms them into generic AuthFailed exceptions, masking the underlaying exception.
Expected behaviour
Whenever a network/connection problem it could be useful to distinguish it directly from a logic authentication error.
This could improve filtering based on exception type (ie: to handle logging in django integration).
Actual behaviour
Currently the wrapper on remote requests intercepts connection-related exceptions and transforms them into generic
AuthFailed
exceptions, masking the underlaying exception.social-core/social_core/backends/base.py
Lines 244 to 245 in 95316b0
Currently the only method to distinguish this case by using the
__cause__
attribute which involves more code than a try-except.What are the steps to reproduce this issue?
OR
In both cases we are going to receive a simple
AuthFailed
exception and we need to parse the message to identify what happened.The text was updated successfully, but these errors were encountered: