Merge branch 'develop' of github.com:RuudBurger/CouchPotatoServer into develop
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user