Fixes NotFound exceptions to show the proper instance id in the ec2 api.
This commit is contained in:
@@ -146,6 +146,7 @@ class NovaException(Exception):
|
||||
message = _("An unknown exception occurred.")
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
self.kwargs = kwargs
|
||||
try:
|
||||
self._error_string = self.message % kwargs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user