Skip to content

Too generic exceptions #44

Closed
Closed

Description

@kuba
  1. Catching Exception should always be avoided (e.g. it catches KeyboardInterrupt as well).
  2. Let's create our own exception hierarchy starting with class LetsEncryptError(Exception), and use it instead of throwing generic Exception.

Activity

  1. jdkasten commented on Nov 21, 2014

    @jdkasten
    Contributor

    That's a good idea! 👍 I will focus tomorrow on cleaning up the code now that the major restructuring is completed.

  2. jdkasten commented on Nov 21, 2014

    @jdkasten
    Contributor

    Would you be interested in starting the exception hierarchy?

  3. added a commit that references this issue on Feb 28, 2015
    9ff632d
  4. kuba commented on Jun 9, 2015

    @kuba
    ContributorAuthor

    This is generally fixed, leaving a follow-up in #487.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions