Comment 16 for bug 322486

Revision history for this message
Shane Hathaway (shane-hathawaymix) wrote :

I'm working on this code today to help Stephan and Paul, so I'll do it.

I hit a snag: lots of tests expect to be able to setStatus(ValueError()), expressing the intent that unrecognized exception types should lead to a status of 500. This is how Zope has always behaved. I'm inclined to use Tres' version except make it continue to default the status to 500 for unrecognized values, and update the docs to reflect this behavior. Any disagreement?