diff --git a/safrs/safrs_api.py b/safrs/safrs_api.py index 174b8b2..362e955 100755 --- a/safrs/safrs_api.py +++ b/safrs/safrs_api.py @@ -701,6 +701,6 @@ def method_wrapper(*args, **kwargs): safrs.DB.session.rollback() errors = dict(title=title, detail=detail, code=api_code) - abort(status_code, errors=[errors]) + abort(str(status_code), errors=[errors]) return method_wrapper