Skip to content

Commit

Permalink
Adjusted "Unsupported metadata agent" warnings to improve matching in…
Browse files Browse the repository at this point in the history
… sentry
  • Loading branch information
fuzeman committed Mar 14, 2016
1 parent 5aa2fc1 commit 4bf40c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plex_metadata/guid.py
Expand Up @@ -75,14 +75,14 @@ def match(cls, agent_name, guid, uri, media=None):
if agent is None:
if agent_name not in unsupported_agents:
# First occurrence of unsupported agent
log.warn('Unsupported metadata agent: %r' % agent_name)
log.warn('Unsupported metadata agent: %s' % agent_name)

# Mark unsupported agent as "seen"
unsupported_agents[agent_name] = True
return False

# Duplicate occurrence of unsupported agent
log.warn('Unsupported metadata agent: %r' % agent_name, extra={
log.warn('Unsupported metadata agent: %s' % agent_name, extra={
'duplicate': True
})
return False
Expand Down

0 comments on commit 4bf40c4

Please sign in to comment.