All Projects → rails-engine → Exception Track

rails-engine / Exception Track

Licence: mit
Tracking ⚠️ exceptions for Rails application and store them in database.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Exception Track

Bugsnag Node
[DEPRECATED] Please upgrade to our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js
Stars: ✭ 48 (-52.94%)
Mutual labels:  exceptions, errors
easybuggy4django
EasyBuggy clone built on Django
Stars: ✭ 44 (-56.86%)
Mutual labels:  errors, exceptions
bugsnag-java
Bugsnag error reporting for Java.
Stars: ✭ 51 (-50%)
Mutual labels:  errors, exceptions
Bugsnag Cocoa
Bugsnag crash reporting for iOS, macOS and tvOS apps
Stars: ✭ 167 (+63.73%)
Mutual labels:  exceptions, errors
Traceback with variables
Adds variables to python traceback. Simple, lightweight, controllable. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value. Dump locals environments after errors to console, files, and loggers. Works in Jupyter and IPython. Install with pip or conda.
Stars: ✭ 509 (+399.02%)
Mutual labels:  exceptions, errors
Easybuggy
Too buggy web application
Stars: ✭ 189 (+85.29%)
Mutual labels:  exceptions, errors
Bugsnag Android Ndk
DEPRECATED - this project now lives at bugsnag/bugsnag-android
Stars: ✭ 42 (-58.82%)
Mutual labels:  exceptions, errors
raise if
one liner `raise Exception if condition` for Python
Stars: ✭ 15 (-85.29%)
Mutual labels:  errors, exceptions
Bugsnag Php
Bugsnag error monitoring and crash reporting tool for PHP apps
Stars: ✭ 475 (+365.69%)
Mutual labels:  exceptions, errors
Collision
💥 Collision is a beautiful error reporting tool for command-line applications
Stars: ✭ 3,993 (+3814.71%)
Mutual labels:  exceptions, errors
Bugsnag Go
Automatic panic monitoring for Go and Go web frameworks, like negroni, gin, and revel
Stars: ✭ 155 (+51.96%)
Mutual labels:  exceptions, errors
Bugsnag Android
Bugsnag crash monitoring and reporting tool for Android apps
Stars: ✭ 990 (+870.59%)
Mutual labels:  exceptions, errors
Periskop
Exception Monitoring Service
Stars: ✭ 115 (+12.75%)
Mutual labels:  exceptions, errors
Bugsnag Ruby
Bugsnag error monitoring & reporting software for rails, sinatra, rack and ruby
Stars: ✭ 211 (+106.86%)
Mutual labels:  exceptions, errors
periskop
Exception Monitoring Service
Stars: ✭ 128 (+25.49%)
Mutual labels:  errors, exceptions
Bugsnag Laravel
Bugsnag notifier for the Laravel PHP framework. Monitor and report Laravel errors.
Stars: ✭ 746 (+631.37%)
Mutual labels:  exceptions, errors
Bugsnag Python
Official bugsnag error monitoring and error reporting for django, flask, tornado and other python apps.
Stars: ✭ 69 (-32.35%)
Mutual labels:  exceptions, errors
Sudo rails
🔒 Sudo mode for your Rails controllers
Stars: ✭ 66 (-35.29%)
Mutual labels:  rails-engine
Larabug
Laravel error reporting tool
Stars: ✭ 84 (-17.65%)
Mutual labels:  exceptions
Noexception
Java library for handling exceptions in concise, unified, and architecturally clean way.
Stars: ✭ 56 (-45.1%)
Mutual labels:  exceptions

ExceptionTrack

Tracking exceptions for Rails application store them in database.

This gem is base on exception_notification.

中文介绍和使用说明

Gem Version build codecov.io

2017-02-17 12 35 18

Installation

Add this line to your application's Gemfile:

gem 'exception-track'

And then execute:

$ bundle

Generate migration and config files

$ rails g exception_track:install

And mount routers:

config/router.rb

Rails.application.routes.draw do
  mount ExceptionTrack::Engine => "/exception-track"
end

Migrate database:

bundle exec rails db:migrate

Now you can open: http://localhost:3000/exception-track

Configuration

Add config/initializers/exception-track.rb

ExceptionTrack.configure do
  # environments for store Exception log in to database.
  # default: [:development, :production]
  # self.environments = %i(production)
end

exception_notification Configuration

You can config exception_notification by itself's way, more documentations please visit:

https://github.com/smartinez87/exception_notification/

Router admin authenticate

# lib/admin_constraint.rb
class AdminConstraint
  def matches?(request)
    return false if !request.session[:user_id]
    user = User.find(request.session[:user_id])
    user && user.admin?
  end
end

# config/router.rb
require 'admin_constraint'
mount ExceptionTrack::Engine => "/exception-track", constraints: AdminConstraint.new

With Devise

# config/routes.rb
authenticate :user, ->(u) { u.admin? } do
  mount ExceptionTrack::Engine => "/exception-track"
end

More examples: Sidekiq Web Document

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].