Skip to content

Commit 9eb2c74

Browse files
committed
Display error when unknown record type is found
1 parent 3d70d24 commit 9eb2c74

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deemon/cmd/search.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,5 +497,6 @@ def send_to_queue(self, item):
497497

498498
self.queue_list.append(download.QueueItem(track=track))
499499

500-
elif item.get('name'):
501-
pass
500+
else:
501+
logger.error("Unknown record type. Please report this to add support:")
502+
logger.error(item)

0 commit comments

Comments
 (0)