Skip to content

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

@mustmodify

Description

@mustmodify

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions