Write an error to the console when the HTTP server returns an error