This is an actual bug---500 responses can occur (unexpected exceptions) that were not handled properly.  So, this is unrelated to this change, but something I hit while implementing it.