Skip to content

handle error better #37

@todo

Description

@todo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions