mm_cfg.py syntax error is handled ungracefully
Bug #1760506 reported by
Bruce Perens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Low
|
Mark Sapiro |
Bug Description
The user left a trailing quote out in mm_cfg.py . Mailman's response was to fail with the message "Mailman experienced a very low level failure". Perhaps "low-level failure" was Mailman's opinion of the user :-) One would hope that we could catch an exception from Python and give the user a bit more help. Thanks! - Bruce
Changed in mailman: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The issue in this specific case was scripts/driver only caught ImportError on a try: of importing mm_cfg and the exception here is SyntaxError. I have changed it to catch any exception and also indicate the traceback could be in the web server logs.