Cleaned up view error handling