Revision d512e84b lib/cli.py
b/lib/cli.py | ||
---|---|---|
1665 | 1665 |
# All daemons are shut down now |
1666 | 1666 |
try: |
1667 | 1667 |
return fn(self, *args) |
1668 |
except Exception: |
|
1668 |
except Exception, err: |
|
1669 |
_, errmsg = FormatError(err) |
|
1669 | 1670 |
logging.exception("Caught exception") |
1671 |
self.feedback_fn(errmsg) |
|
1670 | 1672 |
raise |
1671 | 1673 |
finally: |
1672 | 1674 |
# Start cluster again, master node last |
Also available in: Unified diff