diff --git a/src/DIRAC/Resources/Computing/AREXComputingElement.py b/src/DIRAC/Resources/Computing/AREXComputingElement.py index b7f96aab43f..22f494c7ee4 100755 --- a/src/DIRAC/Resources/Computing/AREXComputingElement.py +++ b/src/DIRAC/Resources/Computing/AREXComputingElement.py @@ -803,8 +803,8 @@ def getCEStatus(self): try: ceData = response.json() except requests.JSONDecodeError: - self.log.exception("Failed decoding the status of the CE") - return S_ERROR(f"Failed decoding the status of the CE") + self.log.error("Failed decoding the status of the CE") + return S_ERROR("Failed decoding the status of the CE") # Look only in the relevant section out of the headache # This "safe_get" function allows to go down the dictionary