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

Hey, I don't think when using self.send_error response 4XX status is a good idea.I catch up a lot of None Type event in sentry.