Don't show trailer 404 errors
This commit is contained in:
1 parent
3ffc6e122e
commit
4dfd8b4cd5
2 files changed
+17
-3
No files matched your search
@@ -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