streaming throws error in main thread when exception is caught

This appears to resolve #12552.  I'm not sure if this is the best way to do this.  This fails two tests from #9604 (test_exception_handling_plain_text, test_exception_handling_html), it looks like sgrif expected that if streaming and an exception occurs we should just log it and in the view display a 500 error while bkudria is saying that if the action isn't streaming we should follow the normal response