Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Better error reporting #175

Merged
merged 3 commits into from Apr 9, 2022
Merged

Better error reporting #175

merged 3 commits into from Apr 9, 2022

Conversation

burbas
Copy link
Contributor

@burbas burbas commented Apr 8, 2022

This adds a small check to see if the controller actually have the function exported. If not Nova will generate an error. Also fixed a bug with 404 pages not returning the correct content-type header.

Not sure how expensive the erlang:function_exported/3 is, but think it's small enough to be okay to use here.

Closes #174

@burbas burbas requested a review from Taure April 8, 2022 08:13
@Taure
Copy link
Collaborator

Taure commented Apr 8, 2022

Do you fix Elvis warning so we can merge this?

@Taure Taure merged commit 8519e10 into master Apr 9, 2022
@Taure Taure deleted the better-error-reporting branch April 9, 2022 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Routing error information improvement
2 participants