https://review.openstack.org/#/c/32154/ introduces a deprecated
TypeError.message reference, which won't work in python3 and
causes a DeprecationWarning to be output on >= python 2.6
Change-Id: Ibd11d4ad6b82e96ede8f38fe76112bd71e98c5c9
action_result = self.dispatch(self.controller, action,
request, **action_args)
except TypeError as err:
- logging.error(_('Exception handling resource: %s') % err.message)
+ logging.error(_('Exception handling resource: %s') % str(err))
raise webob.exc.HTTPBadRequest()
# Here we support either passing in a serializer or detecting it