summary refs log tree commit diff stats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-11-11 09:37:16 -0500
committerJohn Snow <jsnow@redhat.com>2021-11-16 14:26:36 -0500
commit25de7f50121f251c45d111582d786db7ce0768d3 (patch)
tree49b303cf2f5d14b3e497a6d1084e3f9ef3ce0007 /docs/conf.py
parentf26bd6ff21df2f1d155ca17eef360423b706ab7f (diff)
downloadfocaccia-qemu-25de7f50121f251c45d111582d786db7ce0768d3.tar.gz
focaccia-qemu-25de7f50121f251c45d111582d786db7ce0768d3.zip
python/aqmp: fix ConnectError string method
When ConnectError is used to wrap an Exception that was initialized
without an error message, we are treated to a traceback with a rubbish
line like this:

... ConnectError: Failed to establish session:

Correct this to use the name of an exception as a fallback message:

... ConnectError: Failed to establish session: EOFError

Better!

Signed-off-by: John Snow <jsnow@redhat.com>
Reported-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-id: 20211111143719.2162525-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions