Better error reporting on view errors