Commit 22846c9
committed
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 default1 parent f2d2492 commit 22846c9
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
620 | | - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
621 | 625 | | |
622 | 626 | | |
623 | 627 | | |
| |||
0 commit comments