Merge "bug fix: error message fix" into unmaintained/yoga

This commit is contained in:
Zuul 2024-07-30 15:56:33 +00:00 committed by Gerrit Code Review
commit 5815da19c7

View File

@ -214,7 +214,7 @@ class ShareTypesController(wsgi.Controller):
self._notify_share_type_error(context, 'share_type.create',
notifier_err)
raise webob.exc.HTTPConflict(explanation=err.message)
raise webob.exc.HTTPConflict(explanation=err.msg)
except exception.NotFound as err:
notifier_err = dict(share_types=share_type,
error_message=err.message)