exception_handler icon indicating copy to clipboard operation
exception_handler copied to clipboard

Ruby on Rails Custom Error Pages

Results 28 exception_handler issues
Sort by recently updated
recently updated
newest added

Request to add support for Webpacker in place of Asset Pipeline. ``` NoMethodError: undefined method `assets' for # /Users/natemacinnes/.rvm/gems/ruby-2.7.2/gems/railties-6.0.3.6/lib/rails/railtie/configuration.rb:96:in `method_missing' /Users/natemacinnes/.rvm/gems/ruby-2.7.2/gems/exception_handler-0.8.0.1/lib/exception_handler/engine.rb:35:in `' /Users/natemacinnes/.rvm/gems/ruby-2.7.2/gems/exception_handler-0.8.0.1/lib/exception_handler/engine.rb:15:in `' ... ```

I want to fire after_create callback in error model so I can delete older error records I tried: class Error < ApplicationRecord after_create :delete_old def delete_old Error.order('id desc').offset(5).destroy_all end end...

I get the following error when adding the exception_handler config information on production...while assets are precompiling...db: option is set to true. Removing the config info clears the error...as does setting...

When i have notification set to true i get the error. Here is the log output. ``` 2021-03-23T12:27:36.953832+00:00 app[web.1]: Error during failsafe response: undefined method `env' for nil:NilClass 2021-03-23T12:27:36.953832+00:00 app[web.1]:...

Is it possible to add the URL of where the exception happens to the Exception object? I see @exception.target but that simply points: http://localhost:3000/500 and not the actual URL where...

In the rails console I run the command `ExceptionHandler::Exception.all.first` which gives me the first record as expected: ``` # ``` But if I try to run `ExceptionHandler::Exception.all.first.class_name` I get: ```...

This commit fix a problem to be able to render error responses for format distinct to html (for example json) because e.request.format is returning a Mime::Type object that doesn’t match...

Hello all, I'm trying to use this gem on my rails project and it works nicely for other errors, but when a gateway timeout occurs, instead of showing my custom...

The `exception_handler.gemspec` file lists the MIT license. It's my understanding the license itself requires a copy to be distributed with the work. Fixes https://github.com/richpeck/exception_handler/issues/92

I'm trying to customize some things but couldn't use the generators. I'm using rails 6, and just installed the gem v0.8.0.0 and added `config.exception_handler = { dev: true }` in...