Less verbose on expected error
This commit is contained in:
parent
c10c3c5e79
commit
1a8b20ba30
|
@ -201,8 +201,8 @@ export class RunnerServer {
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const code = (err.res?.body as PeerTubeProblemDocument)?.code
|
const code = (err.res?.body as PeerTubeProblemDocument)?.code
|
||||||
|
|
||||||
if (code === ServerErrorCode.RUNNER_JOB_NOT_IN_PROCESSING_STATE) {
|
if (code === ServerErrorCode.RUNNER_JOB_NOT_IN_PENDING_STATE) {
|
||||||
logger.debug({ err }, 'Runner job is not in processing state anymore, retry later')
|
logger.debug({ err }, 'Runner job is not in pending state anymore, retry later')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue