def get(self): user = users.get_current_user() try: profile = PlayerProfile.build(user) profile.refresh() except (Exception, ), exc: error('player profile refresh: %s', exc) self.error(500)