Mercurial > p > roundup > code
diff roundup/__init__.py @ 7076:d3d20e145cea
bug: cleaner error message on OptionUnsetError in initialize
We got a scary traceback when a:
roundup.configuration.OptionUnsetError
exception was raised during tracker.init(). Capture the exception and
raise a UsageError that is printed more cleanly. It now reads:
Error: In tracker/config.ini - MAIL_DOMAIN is not set and has no default
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 24 Nov 2022 20:57:17 -0500 |
| parents | a1868fe784d0 |
| children | 623502678b97 |
