Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions cri_lib/cri_protocol_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,14 @@ def parse_message(
if (answer := self._parse_info(parts[3:-1])) is not None:
result = {"answer": answer}

case "EXECEND":
result = {"answer": "EXECEND"}
case "LOGMSG":
# every received message is logged, so there's no need to log it again
pass

case "EXECACK" | "EXECPAUSE" | "EXECEND":
# the messages doesn't contain a command message ID,
# therefore only the category can be subscribed to.
result = {"answer": str(cmd_category)}

case "EXECERROR":
result = self._parse_execerror(parts[3:-1])
Expand Down
Loading