##// END OF EJS Templates
users: make user data loading more resilient to errors.
milka -
r4686:a287ef57 stable
parent child
Show More
@@ -911,7 +911,7 class User(Base, BaseModel):
911 return {}
911 return {}
912
912
913 try:
913 try:
914 return json.loads(self._user_data)
914 return json.loads(self._user_data) or {}
915 except TypeError:
915 except TypeError:
916 return {}
916 return {}
917
917
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now