mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
remove catch
This commit is contained in:
parent
884662ac3e
commit
890c69b4c7
@ -39,11 +39,7 @@ logger = logging.getLogger('warcserver')
|
|||||||
#=============================================================================
|
#=============================================================================
|
||||||
class BaseLoader(object):
|
class BaseLoader(object):
|
||||||
def __call__(self, cdx, params):
|
def __call__(self, cdx, params):
|
||||||
entry = None
|
entry = self.load_resource(cdx, params)
|
||||||
try:
|
|
||||||
entry = self.load_resource(cdx, params)
|
|
||||||
except Exception:
|
|
||||||
traceback.print_exc()
|
|
||||||
|
|
||||||
if not entry:
|
if not entry:
|
||||||
return None, None
|
return None, None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user