Replaces a bare except with Exception, and updates the test case to specify only a single exception that is allowed to occur. Related to https://github.com/capnproto/pycapnp/issues/254
2.4 KiB
2.4 KiB