BaseSecrete / rorvswild

Performances & exceptions monitoring for Ruby on Rails applications
https://www.rorvswild.com
MIT License
336 stars 9 forks source link

Hide / Close / Acknowledge errors #3

Closed zedalaye closed 6 years ago

zedalaye commented 7 years ago

Is there a way to acknowledge errors (to make errors disappear) in RorVsWild WebUI ?

alexisbernard commented 7 years ago

No there is no such button because the approch is different. Errors are ordered by last occurence. The latest active are at the top. Errors that are fixed mechanically go to the bottom of the list and then disappear since they are filtered by date. The benefit is that you have nothing to do :)

However if you need to ignore some types of exception just do the following:

# config/rorvswild.yml
production:
  api_key: API_KEY
  ignored_exceptions:
    - ActionController::RoutingError
    - ZeroDivisionError
# config/initializers/rorvswild.rb
RorVsWild::Client.new(
  api_key: "API_KEY",
  ignored_exceptions: ["ActionController::RoutingError", "ZeroDivisionError"])
alexisbernard commented 6 years ago

It has been implemented :)