Address review comments
This commit is contained in:
parent
eba75494d9
commit
b5db41920f
5 changed files with 16 additions and 16 deletions
|
@ -51,6 +51,5 @@ class Error(ApiResource):
|
|||
""" Get a detailed description of the error """
|
||||
if error_type in ERROR_DESCRIPTION.keys():
|
||||
return error_view(error_type), 200
|
||||
else:
|
||||
raise NotFound()
|
||||
raise NotFound()
|
||||
|
||||
|
|
Reference in a new issue