This may prove to be a regression, but it prevented the pretty 500 handler from working if TemplateDoesNotExist was re-raised.