fix(runner): status code condition

This commit is contained in:
Denis Gukov 2024-01-07 18:37:22 +05:00
parent f47c2ee407
commit 446515fd1a

View File

@ -417,7 +417,7 @@ func (p *JobPool) checkNewJobs() {
return
}
if resp.StatusCode != 200 {
if resp.StatusCode >= 400 {
log.Error("Checking new jobs error, server returns code ", resp.StatusCode)
return
}