Coder Social home page Coder Social logo

erichaydel / errdo Goto Github PK

View Code? Open in Web Editor NEW
87.0 87.0 7.0 306 KB

A simple plugin to handle, log, and customize production errors in Rails applications

License: MIT License

Ruby 88.30% JavaScript 1.00% CSS 1.05% HTML 9.64%
error-handling error-monitoring rails slack

errdo's People

Contributors

ened avatar erichaydel avatar timothyfstephens avatar tjaklitsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

errdo's Issues

Link to issue

Posting to Slack is already useful. The message should also contain a link to either error index page or better, the error itself.

Split Gem

For some projects, it might be helpful to only use the error recording & notification part and Skip the View entirely.

The standard errdo gem could become sth. like an umbrella component which links to both errdo-view, errdo-notifier and those could depend on errdo-common.

Similar to how kaminari handles it.

Show page returns error

Clicking on error link goes to show page, that returns error.

I followed the tutorial:

  1. gem 'errdo'
  2. bundle install
  3. rails generate errdo:install
  4. rails generate errdo ErrorReporting
  5. mount Errdo::Engine => "/errdo"

Rails: 5.1.0
Gem: 0.12.14
ruby: 2.5.1

2
3

Better looking index page

I'm thinking a graph or two, potentially highlighting more serious errors. Potentially error occurrences per day or something

Tweaks

  • Edit link for user on view page to be no link when no path is supplied
  • Color coding for active/resolved on the view page
  • Reorder error show page
  • Group active/resolved into different sections on index page
  • Recursive query error on index page (.includes(:last_experiencer) when querying for errors)
  • Experiencer not showing up in slack messages
  • Make slack message have slack attachments
  • Give ability to supply a channel for slack

Feature Request: Rescue jobs, tasks, etc

I've been using Rollbar and Raygun recently. They monitor more than just web requests. And, from what I can tell, errdo just rescues web requests.

It would be nice to monitor scripts fired by a scheduler (e.g. cron), rake tasks and ActiveJobs.

It would also be nice to fire warnings as a sort of logger (e.g. Rollbar.warn).

Make index page customizeable

This may mean a rake task to copy the view over, or it may mean more settable configurations (maybe being able to specify a template)

Custom error page

I use a custom error pages, but with errdo there pages are not being displayed.

Is there a way to display custom error pages? instead of this:

Screenshot 2019-05-23 at 14 49 45

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.