log HTTP response code fail