From 3fd66dabe4f64e6e97d9a1974de92481cc072b99 Mon Sep 17 00:00:00 2001 From: aldbr Date: Tue, 9 Jun 2026 17:42:33 +0200 Subject: [PATCH] chore: AREX issue decoding the JSON, use error instead of exception --- src/DIRAC/Resources/Computing/AREXComputingElement.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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