current_user should always be either an instance of AnonymousUser or an actual User object. I guess this occured because of the other load_user() failure (see https://app.getsentry.com/arcanaio/dotabank/group/23375105/ - seems to have been an anomaly from the WebAPI).
Solution is probably catching steamodd exceptions in User._update_steam_name, so a failure there doesn't bring the whole app down.
https://app.getsentry.com/arcanaio/dotabank/group/23375109/
current_user
should always be either an instance ofAnonymousUser
or an actualUser
object. I guess this occured because of the otherload_user()
failure (see https://app.getsentry.com/arcanaio/dotabank/group/23375105/ - seems to have been an anomaly from the WebAPI).Solution is probably catching steamodd exceptions in
User._update_steam_name
, so a failure there doesn't bring the whole app down.