proxy error handling doesn't really work