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

Does not work if 404 in root controller #1

Open
jackkinsella opened this issue Apr 13, 2010 · 0 comments
Open

Does not work if 404 in root controller #1

jackkinsella opened this issue Apr 13, 2010 · 0 comments

Comments

@jackkinsella
Copy link

I tried calling an erroneous route http://www.example.com/j and instead of the exception notifier in line templates, I got the default rails red screen of death "The page you were looking for doesn't exist.

The notifier works fine on this app in the case of non root errors (e.g. users/j)

Here is my stack trace:


Processing ApplicationController#index (for 86.43.172.93 at 2010-04-13 07:39:11) [GET]

ActionController::RoutingError (No route matches "/j" with {:method=>:get}):
  warden (0.9.7) lib/warden/manager.rb:34:in `call'
  warden (0.9.7) lib/warden/manager.rb:33:in `catch'
  warden (0.9.7) lib/warden/manager.rb:33:in `call'
  /home/heroku_rack/lib/static_assets.rb:9:in `call'
  /home/heroku_rack/lib/last_access.rb:25:in `call'
  /home/heroku_rack/lib/date_header.rb:14:in `call'
  thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
  thin (1.0.1) lib/thin/connection.rb:78:in `catch'
  thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
  thin (1.0.1) lib/thin/connection.rb:57:in `process'
  thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
  thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
  thin (1.0.1) lib/thin/server.rb:150:in `start'
  thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.0.1) lib/thin/runner.rb:173:in `send'
  thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
  thin (1.0.1) lib/thin/runner.rb:139:in `run!'
  thin (1.0.1) bin/thin:6
  /usr/local/bin/thin:20:in `load'
  /usr/local/bin/thin:20

Rendering template within layouts/application
Rendering /exceptions/404 (404)
Need controller and action!
Rendering /disk1/home/slugs/165527_f5d137b_ebc9/mnt/public/404.html (404 Not Found)


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