+ const code = (err.res?.body as PeerTubeProblemDocument)?.code
+
+ if (code === ServerErrorCode.RUNNER_JOB_NOT_IN_PROCESSING_STATE) {
+ logger.debug({ err }, 'Runner job is not in processing state anymore, retry later')
+ return
+ }
+
+ if (code === ServerErrorCode.UNKNOWN_RUNNER_TOKEN) {