Merge "Replaced exc.message with str(exc)"
This commit is contained in:
commit
e0cca2e002
|
@ -275,7 +275,7 @@ class LVMShareDriver(LVMMixin, driver.ShareDriver):
|
|||
except exception.ProcessExecutionError:
|
||||
LOG.warning("Can't remove share %r", share['id'])
|
||||
except exception.InvalidShare as exc:
|
||||
LOG.warning(exc.message)
|
||||
LOG.warning(str(exc))
|
||||
|
||||
def update_access(self, context, share, access_rules, add_rules,
|
||||
delete_rules, share_server=None):
|
||||
|
|
Loading…
Reference in New Issue