mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
log unknown job when getting priority
This commit is contained in:
parent
ce19218e15
commit
649ccc692b
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ export const getJobPriority = (jobName: string): number => {
|
|||
case THUMBNAIL_JOB:
|
||||
return 100
|
||||
default:
|
||||
logger.error(`unknown job name: ${jobName}`)
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue