[INSTRM-2359] Pass obvious MHS failure messages back to Gen2 Created: 29/Aug/24  Updated: 05/Sep/24  Resolved: 05/Sep/24

Status: Done
Project: Instrument control development
Component/s: ics_gen2Actor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: EngRun
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When a PFS command sent from gen2 fails, we throw a g2cam CamCommandException, whose content gets displayed to the observer.

We currently just pass back a bland message about which command failed. And have in the past discussed enforcing elaborate conventions for labelling failure messages inside the MHS world.

But actually, real failures almost all come with a directly associated and available failure message. If such a thing exists, pass that back to Gen2 instead of the current message.



 Comments   
Comment by cloomis [ 05/Sep/24 ]

Tagged 1.5.14

Ran it for a couple of nights on this last run.

Specifically, all this does is attach the value of the text keyword, if one appears on the {{ f }} reply.

Generated at Sun Apr 06 19:44:08 JST 2025 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.