Skip to content

Commit

Permalink
Dump all deemix output in debug_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalec committed Sep 8, 2022
1 parent d22c376 commit 49750ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deemon/core/dmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def send(cls, key, value=None):
if value.get('failed') and value['failed'] == True:
logger.error(f" [!] Error while downloading {value['data']['title']} by {value['data']['artist']}")
logger.error(f" >> {value['error']}")
log_string = formatListener(key, value)
if config.debug_mode():
if log_string: logger.debug(f"[DEEMIX] {log_string}")


class DeemixInterface:
Expand Down

0 comments on commit 49750ff

Please sign in to comment.