mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
Merge pull request #20497 from tchaikov/wip-ceph-disk-cmd-failure
ceph-disk: include output of failed command in exception Reviewed-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
commit
7a944125a4
@ -1251,7 +1251,7 @@ def get_conf_with_default(cluster, variable):
|
||||
except subprocess.CalledProcessError as e:
|
||||
raise Error(
|
||||
'getting variable from configuration failed',
|
||||
e,
|
||||
e, e.output,
|
||||
)
|
||||
|
||||
value = str(out).split('\n', 1)[0]
|
||||
|
Loading…
Reference in New Issue
Block a user