glusterfs.common: GlusterManager.gluster_call error report fix
Show the proper execution failure summary rendered by ProcessExecutionError.__str__ instead of extracting partial information from the ProcessExecutionError instance by ad hoc means. Change-Id: I8dcbfd301752c24686cb6ca7bd2505dc2d5c0464 Closes-bug: #1554607
This commit is contained in:
parent
cd72947258
commit
8aa37de27d
|
@ -209,7 +209,7 @@ class GlusterManager(object):
|
|||
_("GlusterFS management command '%(cmd)s' failed "
|
||||
"with details as follows:\n%(details)s.") % {
|
||||
'cmd': ' '.join(args),
|
||||
'details': exc.args[0]})
|
||||
'details': exc})
|
||||
|
||||
return _gluster_call
|
||||
|
||||
|
|
Loading…
Reference in New Issue