From 4db48d0bcaf46810c6f38f82a3ffdad0b408d0e9 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 31 Jan 2023 17:04:14 +0100 Subject: [PATCH] TMSS-2262: the Jira ticket says we need to check the specifications_doc for validity. That's superfluous cause TMSS already does that, but it doesn't hurt either. --- MAC/Services/src/L2TMSSObservationControl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAC/Services/src/L2TMSSObservationControl.py b/MAC/Services/src/L2TMSSObservationControl.py index ac163b1b3e2..0c243b568c6 100755 --- a/MAC/Services/src/L2TMSSObservationControl.py +++ b/MAC/Services/src/L2TMSSObservationControl.py @@ -116,6 +116,8 @@ class L2TMSSObservationControlMessageHandler(TMSSEventMessageHandler): # and the actual real startup in start_queued_observation_subtask logger.info(subtask['specifications_doc']) + # ToDo: the Jira ticket says we need to check the specifications_doc for validity. That's superfluous cause TMSS already does that, but it doesn't hurt either. + except Exception as e: logger.error(e) self.tmss_client.set_subtask_status(subtask_id, "error", error_reason=str(e), retry_count=5) -- GitLab