Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:TSSW Sprint - Dec 20 - Jan 03
-
Team:Telescope and Site
-
Urgent?:No
Description
Update salobj BaseCsc to publish the errorCode event with errorCode=0, report="", etc. when going out of fault state.
Also update the fault method to publish a CRITICAL-level message with the error code and report. This trivial change should allow LOVE to simplify the unified log window to get rid of the error code event data. Something like:
self.log.critical(f"Fault! errorCode=\{code\}, reason=\{reason!r\}")
|
Attachments
Issue Links
- is triggering
-
DM-33031 Fix packages whose tests are broken by ts_salobj 6.8
- Done
Pull request: https://github.com/lsst-ts/ts_salobj/pull/217