Switchboard fails to log the error message with some exceptions.

Bug #1165589 reported by Mark Sapiro
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Status tracked in 3.0
Fix Released
Mark Sapiro
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.

Tags: mailman3

Related branches

Mark Sapiro (msapiro)
Changed in mailman:
status: In Progress → Fix Committed
Revision history for this message
Barry Warsaw (barry) wrote :

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

tags: added: mailman3
Revision history for this message
Rashi Karanpuria (rashi007) wrote :

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.