Skip to content

Commit

Permalink
handle exception in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin committed May 3, 2024
1 parent 83fc706 commit 3a2e94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jukebox/components/playermpd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def play_folder(self, folder: str, recursive: bool = False,
try:
self.resume()
except mpd.base.CommandError as e:
logger.exception("Failed to resume folder: %s", folder)
logger.exception("Failed to resume folder: %s", folder, exc_info=e)
self.mpd_client.play()
else:
self.mpd_client.play()
Expand Down

0 comments on commit 3a2e94b

Please sign in to comment.