]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Make better error reporting for client's call to rados.Rados 2767/head
authorDerrick Schneider <derrick.schneider@opower.com>
Tue, 21 Oct 2014 18:56:10 +0000 (11:56 -0700)
committerDerrick Schneider <derrick.schneider@opower.com>
Tue, 21 Oct 2014 20:44:24 +0000 (13:44 -0700)
Signed-off-by: Derrick Schneider derrick.schneider@gmail.com
src/ceph.in

index 4cc5c42470d2bda610598b728fcba17590369390..3cf0e244da613ac2b94a409dfe0b1f95bf6e51e4 100755 (executable)
@@ -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