Skip to content

Commit

Permalink
Merge pull request #1883 from glensc/rsp-headers
Browse files Browse the repository at this point in the history
Log ConflictException error for scrobble
  • Loading branch information
glensc authored Mar 30, 2024
2 parents 5c30979 + e51c94d commit 6600399
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plextraktsync/queue/TraktScrobbleWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ def scrobble(self, scrobbler: Scrobbler, name: str, progress: float):
method = getattr(scrobbler, name)
try:
return method(progress)
except ConflictException:
return
except ConflictException as e:
self.logger.error(e)
self.logger.debug(e.response.headers)
self.logger.debug(e.response)

@staticmethod
def normalize(items: list[TraktPlayable]):
Expand Down

0 comments on commit 6600399

Please sign in to comment.