Merge "Replaced exc.message with str(exc)"

This commit is contained in:
Jenkins 2017-05-08 17:18:33 +00:00 committed by Gerrit Code Review
commit e0cca2e002
1 changed files with 1 additions and 1 deletions

View File

@ -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):