Fix error when constructing DownstreamIssue exception
This commit is contained in:
parent
09d8e643c0
commit
85919cbc39
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class RepositoryImageSecurity(RepositoryParamResource):
|
|||
else:
|
||||
data = secscan_api.get_layer_data(repo_image, include_features=True)
|
||||
except APIRequestFailure as arf:
|
||||
raise DownstreamIssue(arf.message)
|
||||
raise DownstreamIssue({'message': arf.message})
|
||||
|
||||
if data is None:
|
||||
raise NotFound()
|
||||
|
|
Reference in a new issue