don't send logs from send_error when status_code is 400 ~ 499