Skip to content

Specify an exception class to catch or reraise the exception #1111

Description

@amakarudze

In applications/forms.py L101-L103, there is an exception that is raised, without specifying the exception class. There is also a TODO in L102 with a pass. There is need to specify a proper exception class here and replace the TODO with the actions to do when sending email fails. Actions can be logging and informing the user of retries, instead of a server error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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