Skip to content

Commit

Permalink
pe_connect: Improve no sub error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tonial committed May 24, 2024
1 parent cf412f7 commit f332e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itou/openid_connect/pe_connect/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def pe_connect_callback(request):
if "sub" not in user_data:
# 'sub' is the unique identifier from PôleEmploiConnect, we need that to match a user later on
error_msg = "Le paramètre « sub » n'a pas été retourné par PôleEmploiConnect. Il est nécessaire pour identifier un utilisateur." # noqa E501
logger.error(error_msg)
logger.error(error_msg, exc_info=True)
return _redirect_to_job_seeker_login_on_error(error_msg)

try:
Expand Down

0 comments on commit f332e1d

Please sign in to comment.