Commit acc11b86 authored by Valentin Valls's avatar Valentin Valls
Browse files

Merge branch '2776-shell-elogbook-with-non-ascii-segfault' into 'master'

Resolve "shell: elogbook with non ascii segfault"

Closes #2776

See merge request !3728
parents d5e7dde9 4fd8368a
Pipeline #47187 passed with stages
in 96 minutes and 37 seconds
......@@ -727,6 +727,9 @@ class IcatIngesterProxy(object):
:param str msg_type: "comment" by default
:param dict comm_state:
msg = msg.encode(
"latin-1", errors="replace"
) # this is to circumvent pytango issue #72
if self.get_state(comm_state=comm_state) == DevState.FAULT:
comm_state["error_msg"] = "Failed to send the e-logbook message"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment