Code Monkey home page Code Monkey logo

Comments (4)

le0pard avatar le0pard commented on September 1, 2024

As I remember this is normal workflow. Do you use some controller/action for 404 routing errors? Or you need log such errors?

from mongodb_logger.

guycall avatar guycall commented on September 1, 2024

I just have the standard Rails 404.html. An example of the error is, I am using ActiveScaffold gem and had a config parameter incorrectly named. This gave the error:

Routing Error
undefined method `page_links_inner_window=' for #<ActiveScaffold::Config::List:0xaf2c934>

I noted that nothing was added to the mongodb log. The error did appear in the standard development.log file.

from mongodb_logger.

le0pard avatar le0pard commented on September 1, 2024
$ rake middleware
use ActionDispatch::Static
use Rack::Lock
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007fb40c131e48>
use Rack::Runtime
use Rack::MethodOverride
use ActionDispatch::RequestId
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use ActionDispatch::DebugExceptions
use ActionDispatch::RemoteIp
use ActionDispatch::Reloader
use ActionDispatch::Callbacks
use ActiveRecord::ConnectionAdapters::ConnectionManagement
use ActiveRecord::QueryCache
use ActionDispatch::Cookies
use ActionDispatch::Session::CookieStore
use ActionDispatch::Flash
use ActionDispatch::ParamsParser
use ActionDispatch::Head
use Rack::ConditionalGet
use Rack::ETag
use ActionDispatch::BestStandardsSupport
run ExampleMongodbLogger::Application.routes

The routing error handled by "use ActionDispatch::DebugExceptions" middleware, so mongodb_logger coudn't handle it, because it work in controller.

from mongodb_logger.

le0pard avatar le0pard commented on September 1, 2024

If you will handle "Routing Error" by some controller/action, mongodb_logger should catch it.

from mongodb_logger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.