{"id":20744605,"url":"https://github.com/npezza93/activeerror","last_synced_at":"2025-04-24T05:46:59.481Z","repository":{"id":73219350,"uuid":"283896441","full_name":"npezza93/activeerror","owner":"npezza93","description":"Track errors in your Rails app","archived":false,"fork":false,"pushed_at":"2025-03-08T00:10:28.000Z","size":1024,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-24T05:46:50.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npezza93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T23:23:59.000Z","updated_at":"2025-03-08T00:10:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"340f4f56-c783-48fc-97c8-2a5c0f926a03","html_url":"https://github.com/npezza93/activeerror","commit_stats":null,"previous_names":["npezza93/active_error","npezza93/activeerror"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveerror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveerror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveerror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveerror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npezza93","download_url":"https://codeload.github.com/npezza93/activeerror/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573343,"owners_count":21452345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T07:16:19.998Z","updated_at":"2025-04-24T05:46:59.475Z","avatar_url":"https://github.com/npezza93.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActiveError\n\nOne of the fundemental tools needed to take your Rails app to production is a\nway to track errors that are triggered. Unfortunately, there aren't many free,\neasy, open source ways to track them for small or medium apps. Honeybadger, Sentry,\nand AppSignal are great, but they are are closed source. With Sentry\nlooking at using your data as training\ndata([link](https://blog.sentry.io/ai-privacy-and-terms-of-service-updates/?original_referrer=https%3A%2F%2Fsentry.io%2F))\nthere should be an easy open source alternative where you control the data.\nWith Rails 8's ethos of No PAAS, there should be a way for new apps to start out\nwith a basic error reporter and not be forced to pay a third party for one.\n\nActiveError hooks into the [error reporting\napi](https://guides.rubyonrails.org/error_reporting.html) baked directly into\nRails. These third party error loggers also try to make their own fancy\nbacktrace and debugging view. But the one Rails developers are most comfortable\nwith is the one baked into Rails that we use everyday in development. So with\nActiveError, when an error gets raised it's captured and stored in the\ndatabase (we attempt to group the same error together as Instances to reduce\nnoise) and then we recreate the error and display it using the built in debug\nview from Rails (with a few font and styling tweaks). Once you've resolved the\nerror you can click \"Resolve\" which will destroy the record.\n\n![screenshot 1](https://github.com/npezza93/activeerror/blob/main/.github/screenshot1.png)\n![screenshot 2](https://github.com/npezza93/activeerror/blob/main/.github/screenshot2.png)\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"activeerror\"\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n```bash\n$ gem install activeerror\n```\n\nRun the installer and migrate:\n```bash\nbin/rails active_error:install\nbin/rails db:migrate\n```\n\nThis will mount a route in your routes file to view the errors at `/errors`.\n\n##### Config\n\nYou can supply a list of the string version of an error class to `ignored` to\nignore classes of errors.\n\n```ruby\nconfig.active_error.ignored = [\"NoMethodError\"]\n```\n\nYou can supply a hash of connection options to `connects_to` set the connection\noptions for the base `ActiveError` model.\n\n```ruby\nconfig.active_error.connects_to = { database: { writing: :errors } }\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rails test` to run the unit tests.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, execute `bin/publish (major|minor|patch)` which will\nupdate the version number in `version.rb`, create a git tag for the version,\npush git commits and tags, and push the `.gem` file to GitHub.\n\n## Contributing\n\nBug reports and pull requests are welcome on\n[GitHub](https://github.com/npezza93/activeerror). This project is intended to\nbe a safe, welcoming space for collaboration, and contributors are expected to\nadhere to the [Contributor Covenant](http://contributor-covenant.org) code of\nconduct.\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpezza93%2Factiveerror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpezza93%2Factiveerror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpezza93%2Factiveerror/lists"}