diff --git a/src/python/WMCore/Storage/StageOutImpl.py b/src/python/WMCore/Storage/StageOutImpl.py index 6b92d6b0b2..4289bfa2b1 100644 --- a/src/python/WMCore/Storage/StageOutImpl.py +++ b/src/python/WMCore/Storage/StageOutImpl.py @@ -214,7 +214,8 @@ def __call__(self, protocol, inputPFN, targetPFN, options=None, checksums=None): # // try: command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums, auth_method="TOKEN") - except: + except TypeError as ex: + logging.warning("Falling back to default createStageOutCommand due to: %s", str(ex)) command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums) # // # // Run the command