Make downstream issues show their error in the UI

This commit is contained in:
Joseph Schorr 2017-07-21 13:20:31 -04:00
parent fe6760749a
commit 9676d7d8c7
3 changed files with 5 additions and 4 deletions

View file

@ -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)