Revision ed904904 lib/backend.py
b/lib/backend.py | ||
---|---|---|
524 | 524 |
" and ".join(fail)) |
525 | 525 |
|
526 | 526 |
if constants.NV_LVLIST in what: |
527 |
result[constants.NV_LVLIST] = GetVolumeList(what[constants.NV_LVLIST]) |
|
527 |
try: |
|
528 |
val = GetVolumeList(what[constants.NV_LVLIST]) |
|
529 |
except RPCFail, err: |
|
530 |
val = str(err) |
|
531 |
result[constants.NV_LVLIST] = val |
|
528 | 532 |
|
529 | 533 |
if constants.NV_INSTANCELIST in what: |
530 | 534 |
# GetInstanceList can fail |
Also available in: Unified diff