{"id":15877561,"url":"https://github.com/zimbatm/browser-error-reporter","last_synced_at":"2026-02-23T02:33:29.075Z","repository":{"id":3142005,"uuid":"4171162","full_name":"zimbatm/browser-error-reporter","owner":"zimbatm","description":"Be notified of all those nasty client errors","archived":false,"fork":false,"pushed_at":"2023-12-15T02:55:47.000Z","size":456,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T08:11:12.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://zimbatm.github.com/browser-error-reporter","language":"JavaScript","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/zimbatm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2012-04-28T23:41:33.000Z","updated_at":"2024-08-24T22:53:41.000Z","dependencies_parsed_at":"2024-10-06T02:02:09.493Z","dependency_job_id":"1e47d882-42e1-4194-b9e9-9dfed0db1d57","html_url":"https://github.com/zimbatm/browser-error-reporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fbrowser-error-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fbrowser-error-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fbrowser-error-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fbrowser-error-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimbatm","download_url":"https://codeload.github.com/zimbatm/browser-error-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195925,"owners_count":20575936,"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-10-06T02:01:58.487Z","updated_at":"2025-10-27T22:02:22.672Z","avatar_url":"https://github.com/zimbatm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Status: retired - use http://getsentry.com\n\nBrowser error reporter\n======================\n\nAre you like me, wondering how many underported client errors are just\nhidden from us ? Well.. you can stop being in the dark today !\n\nWith just a couple of steps, you will start getting all these nasty\nerrors that you never saw because who tests his site in IE anymore ?\n\nInstall that thing\n==================\n\n1: Insert the script as early as possible in your page to not miss any\n   errors. Eg:\n\n```html\n\u003c!doctype html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cmeta charset=utf-8\u003e\n    \u003cscript src=\"path/to/browser-error-reporter.js\"\u003e\u003c/script\u003e\n    ...\n```\n\n2: Change your webapp to accept POST requests on the \"/error_report\"\n   end-point. For example in Rails, I use this kind of controller to\n   forward the errors to [Airbrake](http://airbrakeapp.com/).\n\n```ruby\n# app/controllers/failing_controller.rb\nclass FailingController \u003c ApplicationController\n  def index\n    # We should get message, file and line parameters from the\n    # JavaScript client\n    raise params[:message] || \"this page should fail!\"\n  end\nend\n\n# in config/routes.rb:\npost '/report_error' =\u003e 'failing#index'\n```\n\nWhen the controller raises an exception, airbreak catches it an forwards\nit to their server, where all exceptions are nicely categorized.\n\n(Examples for other kind of backends are welcome)\n\n3: Profit !\n\nIf you have any issues, just add it to the [bug tracker](https://github.com/zimbatm/browser-error-reporter/issues) and I'll take a\nlook.\n\nStatus\n======\n\nThis script is actually running on [PandaStream](http://www.pandastream.com) and has helped me find a couple of unknown JavaScript issues. I'm still not 100% confident in it but it's good enough that it doesn't hurt.\n\nDesign\n======\n\nThe JavaScript has no external dependencies and is kept as small as\npossible. This to avoid the error reporter having errors himself.\n\nThe \"/error_report\" is hard-coded to avoid another possible cause of\nerror. We're trying to collect errors so it's quite crucial to not\nintroduce our own issues. If you don't like the path of the end-point,\nyou'll need to change it by hand. Search for \"/report_error\" in the script\nand replace it to your liking !\n\nLicence: MIT\n\n\nCheers,\n  zimbatm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Fbrowser-error-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimbatm%2Fbrowser-error-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Fbrowser-error-reporter/lists"}