Skip to content

Commit

Permalink
Tidy up logging message for failed api detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
thezoggy committed Nov 8, 2012
1 parent cbc052e commit e40cf04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/notifiers/xbmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def _send_to_xbmc_json(self, command, host=None, username=None, password=None):
try:
response = urllib2.urlopen(req)
except urllib2.URLError, e:
logger.log(u"Error while trying to retrieve API version: " + ex(e), logger.WARNING)
logger.log(u"Error while trying to retrieve XBMC API version for " + host + ": " + ex(e), logger.WARNING)
return False

# parse the json result
Expand Down

0 comments on commit e40cf04

Please sign in to comment.