mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-28 02:26:14 +00:00
Added interface logging of queueErrors
This commit is contained in:
parent
a6f5b75577
commit
2fdce7d137
|
@ -386,7 +386,7 @@ class QueueManager:
|
|||
def processQueueItem(item, silent=False):
|
||||
if isinstance(item, QueueError):
|
||||
logger.error(f"[{item.link}] {item.message}")
|
||||
if interface and not silent: interface.send("queueError", item.toDict())
|
||||
if interface: interface.send("queueError", item.toDict())
|
||||
return False
|
||||
if item.uuid in list(self.queueList.keys()):
|
||||
logger.warn(f"[{item.uuid}] Already in queue, will not be added again.")
|
||||
|
|
Loading…
Reference in a new issue