Don't show trailer 404 errors
This commit is contained in:
@@ -239,7 +239,8 @@ class Plugin(object):
|
||||
self.setCache(cache_key, data, timeout = cache_timeout)
|
||||
return data
|
||||
except:
|
||||
pass
|
||||
if not kwargs.get('show_error'):
|
||||
raise
|
||||
|
||||
def setCache(self, cache_key, value, timeout = 300):
|
||||
log.debug('Setting cache %s', cache_key)
|
||||
|
||||
Reference in New Issue
Block a user