Catch otherwise fatal HTTP errors