Validation Errors on Delete handled
Horizon does not fall into stacktrace now but still error message is not shown because horizon has no functionality to show it. Change-Id: I112cb59fee818914c82311c34797c27bda53d227
This commit is contained in:
parent
a20f643662
commit
e553876d30
|
@ -18,6 +18,8 @@
|
|||
import json
|
||||
import logging
|
||||
|
||||
from horizon import exceptions
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@ -126,5 +128,8 @@ def get_json(response):
|
|||
return json.loads(response.content)
|
||||
|
||||
|
||||
class APIException(Exception):
|
||||
class APIException(exceptions.HorizonException):
|
||||
pass
|
||||
|
||||
|
||||
exceptions.RECOVERABLE += (APIException,)
|
||||
|
|
Loading…
Reference in New Issue