From e81d8878135b1bd5115ce0a3d59a74add45d6837 Mon Sep 17 00:00:00 2001 From: Derrick Schneider Date: Tue, 21 Oct 2014 11:56:10 -0700 Subject: [PATCH] Make better error reporting for client's call to rados.Rados Signed-off-by: Derrick Schneider derrick.schneider@gmail.com --- src/ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph.in b/src/ceph.in index 4cc5c42470d2b..3cf0e244da613 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -620,7 +620,7 @@ def main(): retargs = cluster_handle.conf_parse_argv(childargs) except rados.Error as e: print >> sys.stderr, 'Error initializing cluster client: {0}'.\ - format(e.__class__.__name__) + format(repr(e)) return 1 #tmp = childargs -- 2.39.5