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

No exception mail sent for Rack's multipart_part_limit error #279

Open
runephilosof opened this issue Jul 1, 2015 · 2 comments
Open

No exception mail sent for Rack's multipart_part_limit error #279

runephilosof opened this issue Jul 1, 2015 · 2 comments

Comments

@runephilosof
Copy link

I have just run into Rack's multipart_part_limit, which gave a very cryptic error message in my apache log (End of script output before headers).

It would have been nice if exception_notification had sent me a mail for that error.
But I guess the multipart handling runs before exception_notification.

Is there any way to configure rack/exception_notitication, so that exception_notification will send mails when encountering this error?

@lucianosousa
Copy link

this error occurs in the rails app or in the apache?
note that exception notification has access just in your rails app. if the error occurs in the apache layer, it cannot help you.

@runephilosof
Copy link
Author

The error occurs in rack, it is raised here https://github.com/rack/rack/blob/master/lib/rack/multipart/parser.rb#L61.

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

No branches or pull requests

2 participants