diff options
Diffstat (limited to 'neutronclient/common/exceptions.py')
-rw-r--r-- | neutronclient/common/exceptions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/neutronclient/common/exceptions.py b/neutronclient/common/exceptions.py index 6aff6d6..2e4d679 100644 --- a/neutronclient/common/exceptions.py +++ b/neutronclient/common/exceptions.py @@ -70,7 +70,8 @@ class NeutronClientException(NeutronException): if self.request_ids: req_ids_msg = self.req_ids_msg % self.request_ids if message: - message += '\n' + req_ids_msg + message = _('%(msg)s\n%(id)s') % {'msg': message, + 'id': req_ids_msg} else: message = req_ids_msg super(NeutronClientException, self).__init__(message, **kwargs) |