Merge "Fix UserNotFound exception for expiring groups" into stable/ussuri

This commit is contained in:
Zuul 2020-10-13 07:22:39 +00:00 committed by Gerrit Code Review
commit 2ea9d35692
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class ShadowUsers(base.ShadowUsersDriverBase):
if not user:
# Note(knikolla): This shouldn't really ever happen, since
# this requires the user to already be logged in.
raise exception.UserNotFound()
raise exception.UserNotFound(user_id=user_id)
return user
with sql.session_for_write() as session: