Switchboard fails to log the error message with some exceptions.

Bug #1165589 reported by Mark Sapiro on 2013-04-07
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Status tracked in 3.0
2.1
Medium
Mark Sapiro
3.0
Low
Rashi Karanpuria

Bug Description

The Switchboard.finish() method logs an error when attempting to preserve or unlink the .bak file throws an EnvironmentError exception, but the actual error message from the exception isn't logged. This missing information can be quite helpful.

Related branches

lp:~mgill25/mailman/branch2
Rejected for merging into lp:mailman
Mailman Coders: Pending requested 2013-04-11
lp:~rashi007/mailman/mailman
Barry Warsaw: Approve on 2015-05-05
lp:~rashi007/mailman/rashi
Rejected for merging into lp:mailman
Mailman Coders: Pending requested 2015-03-16
Mark Sapiro (msapiro) on 2013-04-07
Changed in mailman:
status: In Progress → Fix Committed
Barry Warsaw (barry) wrote :

Added MM3 bug task as this would be nice to get into 3.x also.

tags: added: mailman3
Rashi Karanpuria (rashi007) wrote :

Hi,
I fixed the bug,ran the tests and its working fine on my syatem.Please review

Barry Warsaw (barry) wrote :

Actually, as it turns out, this bug does not affect Mailman 3. The error is logged with .exception() which includes the full traceback. I just wrote a test to confirm this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers