{"id":30048347,"url":"https://github.com/segmentio/on-error","last_synced_at":"2025-10-10T20:38:41.363Z","repository":{"id":10305034,"uuid":"12428432","full_name":"segmentio/on-error","owner":"segmentio","description":"Safely attach a handler to window.onerror.","archived":false,"fork":false,"pushed_at":"2023-07-03T19:11:30.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-08-07T10:19:40.223Z","etag":null,"topics":["paused"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/segmentio.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-28T08:21:45.000Z","updated_at":"2023-10-06T10:19:26.000Z","dependencies_parsed_at":"2022-07-21T12:32:23.987Z","dependency_job_id":null,"html_url":"https://github.com/segmentio/on-error","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/segmentio/on-error","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fon-error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fon-error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fon-error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fon-error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/on-error/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fon-error/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005272,"owners_count":26083863,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["paused"],"created_at":"2025-08-07T10:10:08.388Z","updated_at":"2025-10-10T20:38:41.359Z","avatar_url":"https://github.com/segmentio.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# on-error\n\n\u003e **Note**  \n\u003e Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.\n\n  Safely attach a handler to `window.onerror` regardless of existing handlers. \n\n  It will also rebind to `window.onerror` if another party clobbers it.\n\n## Installation\n\n    $ component install segmentio/on-error\n\n## API\n\n### onError(fn)\n  Call `fn` when an error is thrown on the page.\n\n## License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fon-error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Fon-error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fon-error/lists"}