Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

handle error better #37

Open
todo bot opened this issue Feb 25, 2021 · 0 comments
Open

handle error better #37

todo bot opened this issue Feb 25, 2021 · 0 comments

Comments

@todo
Copy link

todo bot commented Feb 25, 2021

if isinstance(response, fpapi.Error): # TODO handle error better
raise ConnectionError("Could not get user profile")
user_info_view = views.UserProfile(response).display()
update.effective_message.reply_text(text=user_info_view)


This issue was generated by todo based on a TODO comment in 156d659 when #32 was merged. cc @FightPandemics.
@todo todo bot added the todo 🗒️ label Feb 25, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

0 participants