From f0d636f97664e81eef2b05bf0c9fa014e32448dd Mon Sep 17 00:00:00 2001 From: Andrea Piccinelli Date: Sun, 15 Dec 2024 22:51:56 +0100 Subject: [PATCH] hadnling of the cases still not implementing custom auth method --- src/python/WMCore/Storage/StageOutImpl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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