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

error-handling-middleware doesn't catch errors outside StandardError #79

Open
mustmodify opened this issue Feb 25, 2015 · 2 comments
Open

Comments

@mustmodify
Copy link

The following controller results in an "empty response" in live mode -- no status code, no nothin.

class SomeController < Ramaze::Controller
  map '/err'

  def index
    raise NotImplementedError, "Whatever"
  end
end

as demonstrated here:

curl logopolis:9292/errs
curl: (52) Empty reply from server
@mustmodify
Copy link
Author

A 500 would be nice. Or anything.

@mustmodify
Copy link
Author

Also, nothing is logged... totally mystifying.

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

1 participant