Make downstream issues show their error in the UI
This commit is contained in:
parent
fe6760749a
commit
9676d7d8c7
3 changed files with 5 additions and 4 deletions
|
@ -129,5 +129,5 @@ class NotFound(ApiException):
|
|||
|
||||
|
||||
class DownstreamIssue(ApiException):
|
||||
def __init__(self, payload=None):
|
||||
ApiException.__init__(self, ApiErrorType.downstream_issue, 520, 'Downstream Issue', payload)
|
||||
def __init__(self, error_description, payload=None):
|
||||
ApiException.__init__(self, ApiErrorType.downstream_issue, 520, error_description, payload)
|
||||
|
|
Reference in a new issue