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
jdkasten commentedon Nov 21, 2014
That's a good idea! 👍 I will focus tomorrow on cleaning up the code now that the major restructuring is completed.
jdkasten commentedon Nov 21, 2014
Would you be interested in starting the exception hierarchy?
Exception -> errors.Error (fixes certbot#44)
kuba commentedon Jun 9, 2015
This is generally fixed, leaving a follow-up in #487.