]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind: fix error hiding and inconsistency on librados load. 3565/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Wed, 28 Jan 2015 16:09:20 +0000 (17:09 +0100)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Mon, 2 Feb 2015 23:32:45 +0000 (00:32 +0100)
commit4074a91b8db7d46d8c771f93f0ac2d68e5d8471f
tree3d13ff57e468f5fee2925a4e5abf71360dabb6c9
parent1798803292eae21d7c8b366db308471eabb5eba0
pybind: fix error hiding and inconsistency on librados load.

When loading of librados failed, the real cause was hidden in some
circumstances due to exception rewriting. Additionally, the error
reporting was inconsistent -- two paths with different exceptions
and messages existed.

Fixes: #7264
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/pybind/rados.py