Exception Handler
Ruby on Rails Custom Error Pages (by richpeck)
Better Errors
Better error page for Rack apps (by BetterErrors)
Exception Handler | Better Errors | |
---|---|---|
1 | 3 | |
509 | 6,892 | |
0.0% | 0.0% | |
0.0 | 0.0 | |
about 4 years ago | about 1 year ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Exception Handler
Posts with mentions or reviews of Exception Handler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-20.
-
Can you recommend any resource to learn proper error handling (logging, reporting) for rails apps?
There is a drop-in engine supporting writing to database instead: https://github.com/richpeck/exception_handler But I have never used it personally and I don't know if it's compatible with Rails 7 (should be though).
Better Errors
Posts with mentions or reviews of Better Errors.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-09-05.
-
Squash Your Ruby and Rails Bugs Faster
better_errors replaces the standard Rails error page with an enhanced stack backtrace, parameter list, and an interactive console where you can probe the stack frame and variables at the scene of the exception. You can also tie source code links to your favorite editor. Here is code to tie better_errors to Visual Studio Code:
-
how to debug console?
There are a few options for this behavior. There is https://github.com/pry/pry-rails which allows you to set break points in your code that does exactly what you're describing when it's hit. Or there's https://github.com/BetterErrors/better_errors. This one does a pretty page when an error happens with a live console open on the page you can use.
- Debugging Ruby application running in docker with VS code
What are some alternatives?
When comparing Exception Handler and Better Errors you can also consider the following projects:
RorVsWild - Performances & exceptions monitoring for Ruby on Rails applications
Exception Notification - Exception Notifier Plugin for Rails
Airbrake - The official Airbrake library for Ruby applications
Bugsnag - BugSnag error monitoring & reporting software for rails, sinatra, rack and ruby
Raven Ruby - Sentry SDK for Ruby