Fixed QueueError for single item
This commit is contained in:
parent
3aee9f6725
commit
b6eff13349
|
@ -363,7 +363,7 @@ class QueueManager:
|
||||||
interface.send("addedToQueue", slimmedItems)
|
interface.send("addedToQueue", slimmedItems)
|
||||||
else:
|
else:
|
||||||
if isinstance(queueItem, QueueError):
|
if isinstance(queueItem, QueueError):
|
||||||
logger.error(f"[{x.link}] {x.message}")
|
logger.error(f"[{queueItem.link}] {queueItem.message}")
|
||||||
if interface:
|
if interface:
|
||||||
interface.send("queueError", queueItem.toDict())
|
interface.send("queueError", queueItem.toDict())
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue