diff --git a/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py b/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py index d399f5f049b099008d54d64eff9c915e00a1763a..65a00d60478960a7d51f1f9bab05dd3cb12ebeb7 100755 --- a/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py +++ b/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py @@ -214,6 +214,7 @@ class ResourceAssigner(): logger.error(e) self.radbrpc.updateTask(taskId, status='error') self._sendNotification(task, 'error') + return if not str(otdb_id) in needed: logger.error("no otdb_id %s found in estimator results %s" % (otdb_id, needed))