Catch exception on view render phase