Commit 3481dc35 authored by Yori's avatar Yori
Browse files

in mpl_client.py: sync_fig_format_rawdata(): add the error message to the output.

                                             add a WARNING in case the Error message
                                                 has a <success Flag> (Status.value == True)
parent 71f0c21d
......@@ -323,9 +323,15 @@ class MplClient():
if isinstance(formated_data, Status):
if formated_data.value:
print('This should not happen')
print('WARNING: This should not happen...')
print('Client recieved an Error with success status (True):')
else:
print('instead of answer a error was received')
print('instead of answer an error was received:')
# Print error message
print(str(formated_data.content))
datas = (None,)
else:
# set the figure data to answerSig.value
......
Markdown is supported
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