Skip to content

Unify behavior for internal server errors #48

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
4 tasks done
php-coder opened this issue Mar 23, 2024 · 0 comments
Closed
4 tasks done

Unify behavior for internal server errors #48

php-coder opened this issue Mar 23, 2024 · 0 comments
Assignees
Milestone

Comments

@php-coder
Copy link
Owner

php-coder commented Mar 23, 2024

The generated apps should behave similarly in case of internal server errors. For instance, at the moment, express-based apps don't handle the exception and shutdown a whole application!

Let's return 500 status code in that case with { "error": "Internal Server Error" } body.

@php-coder php-coder added this to the 0.0.3 milestone Mar 23, 2024
@php-coder php-coder self-assigned this Mar 23, 2024
php-coder added a commit that referenced this issue Apr 21, 2024
php-coder added a commit that referenced this issue Apr 21, 2024
php-coder added a commit that referenced this issue Apr 22, 2024
php-coder added a commit that referenced this issue Apr 24, 2024
As we don't have a generic error handler, there is no reason to have a test for such behavior.

Part of #48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant