You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
The current version of swagger always throws {'message': 'internal error', 'code': 500} when #stopWithError(res, error) is called.
I think, this is an issue, and if so, I'd give a PR to fix it, as currently I am not able to use swagger to handle any errors other than the hardcoded ones. :)
The text was updated successfully, but these errors were encountered:
That is really only invoked with building the resource listing or api declaration. Are you seeing otherwise? Per this: https://github.com/swagger-api/swagger-node-express#error-handling swagger is not consuming errors found when executing your operations, unless you've configured it to do so.
The current version of swagger always throws
{'message': 'internal error', 'code': 500}
when #stopWithError(res, error) is called.I think, this is an issue, and if so, I'd give a PR to fix it, as currently I am not able to use swagger to handle any errors other than the hardcoded ones. :)
The text was updated successfully, but these errors were encountered: