summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/exception.py b/nova/exception.py
index d0baa2e29..cfed32a72 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -93,8 +93,10 @@ class TimeoutException(Error):
class ZoneRouteException(Error):
- def __init__(self, zones, *args, **kwargs):
+ """Thrown in API to reroute request to child zones."""
+ def __init__(self, zones, original_exception, *args, **kwargs):
self.zones = zones
+ self.original_exception = original_exception
super(ZoneRouteException, self).__init__(*args, **kwargs)