scripts/qmp-shell: fix shell history exception handling
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:21 +0000 (16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000 (16:10 -0400)
commitd962ec85ed188b04f35a28771c69845f09a3867e
treedd22ce353352579163486f15ff5150df6a3d959e
parent628b92dd67a262ebeac12dba65905c8143ce710f
scripts/qmp-shell: fix shell history exception handling

We want to remove exceptions that are too broad here; we only want to
catch IOErrors that get raised as a direct result of the open call.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210607200649.1840382-15-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qmp-shell