mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(runner): status code condition
This commit is contained in:
parent
f47c2ee407
commit
446515fd1a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user