diff --git a/src/DIRAC/Resources/Computing/AREXComputingElement.py b/src/DIRAC/Resources/Computing/AREXComputingElement.py index 4b8f99c3088..93127e2ea72 100755 --- a/src/DIRAC/Resources/Computing/AREXComputingElement.py +++ b/src/DIRAC/Resources/Computing/AREXComputingElement.py @@ -805,6 +805,8 @@ def getCEStatus(self): result["RunningJobs"] = int(qi["RunningJobs"]) result["WaitingJobs"] = int(qi["WaitingJobs"]) break # Pick the first (should be only ...) matching queue + VO + else: + return S_ERROR(f"Could not find the queue {self.queue} associated to VO {vo}") return result