don't send logs from send_error when status_code is 400 ~ 499
Merge pull request #352 from zhicheng/master

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