Browse Source

Actual include host in log

pull/4649/head
Ruud 10 years ago
parent
commit
c9b4c8167f
  1. 2
      couchpotato/core/plugins/base.py

2
couchpotato/core/plugins/base.py

@ -206,7 +206,7 @@ class Plugin(object):
if self.http_failed_disabled[host] > (time.time() - 900):
log.info2('Disabled calls to %s for 15 minutes because so many failed requests.', host)
if not show_error:
raise Exception('Disabled calls to %s for 15 minutes because so many failed requests')
raise Exception('Disabled calls to %s for 15 minutes because so many failed requests' % host)
else:
return ''
else:

Loading…
Cancel
Save