{"id":21931424,"url":"https://github.com/mimiquate/tower_honeybadger","last_synced_at":"2025-06-26T00:06:50.987Z","repository":{"id":257792036,"uuid":"814278644","full_name":"mimiquate/tower_honeybadger","owner":"mimiquate","description":"Elixir error tracking and reporting to Honeybadger","archived":false,"fork":false,"pushed_at":"2025-05-18T16:03:07.000Z","size":119,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-19T20:11:56.037Z","etag":null,"topics":["elixir","error-monitoring","error-reporting","error-tracking","honeybadger","tower"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/tower_honeybadger","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mimiquate.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2024-06-12T17:28:42.000Z","updated_at":"2025-05-03T15:34:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"b20dce52-d9ff-45ba-b4b6-9da70c40b735","html_url":"https://github.com/mimiquate/tower_honeybadger","commit_stats":null,"previous_names":["mimiquate/tower_honeybadger"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mimiquate/tower_honeybadger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_honeybadger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_honeybadger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_honeybadger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_honeybadger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimiquate","download_url":"https://codeload.github.com/mimiquate/tower_honeybadger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_honeybadger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260857614,"owners_count":23073449,"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":["elixir","error-monitoring","error-reporting","error-tracking","honeybadger","tower"],"created_at":"2024-11-28T23:13:52.599Z","updated_at":"2025-06-26T00:06:50.962Z","avatar_url":"https://github.com/mimiquate.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TowerHoneybadger\n\n[![ci](https://github.com/mimiquate/tower_honeybadger/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/mimiquate/tower_honeybadger/actions?query=branch%3Amain)\n[![Hex.pm](https://img.shields.io/hexpm/v/tower_honeybadger.svg)](https://hex.pm/packages/tower_honeybadger)\n[![Documentation](https://img.shields.io/badge/Documentation-purple.svg)](https://hexdocs.pm/tower_honeybadger)\n\nElixir error tracking and reporting to [Honeybadger](https://www.honeybadger.io/).\n\n[Tower](https://github.com/mimiquate/tower) reporter for Honeybadger.\n\n## Installation\n\nPackage can be installed by adding `tower_honeybadger` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:tower_honeybadger, \"~\u003e 0.2.3\"}\n  ]\nend\n```\n\n## Usage\n\nTell `Tower` to inform `TowerHoneybadger` reporter about errors.\n\n```elixir\n# config/config.exs\n\nconfig(\n  :tower,\n  :reporters,\n  [\n    # along any other possible reporters\n    TowerHoneybadger\n  ]\n)\n```\n\nAnd configure `:tower_honeybadger`, with at least the API key.\n\n```elixir\n# config/runtime.exs\n\nif config_env() == :prod do\n  config :tower_honeybadger, api_key: System.get_env(\"HONEYBADGER_API_KEY\")\nend\n```\n\nThat's it.\n\nIt will try report any errors (exceptions, throws or abnormal exits) within your application. That includes errors in\nany plug call (including Phoenix), Oban job, async task or any other Elixir process.\n\nSome HTTP request data will automatically be included in the report if a `Plug.Conn` if available when handling the error.\n\n### Manual reporting\n\nYou can manually report errors just by informing `Tower` about any manually caught exceptions, throws or abnormal exits.\n\n\n```elixir\ntry do\n  # possibly crashing code\nrescue\n  exception -\u003e\n    Tower.report_exception(exception, __STACKTRACE__)\nend\n```\n\nMore details on https://hexdocs.pm/tower/Tower.html#module-manual-reporting.\n\n## License\n\nCopyright 2024 Mimiquate\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimiquate%2Ftower_honeybadger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimiquate%2Ftower_honeybadger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimiquate%2Ftower_honeybadger/lists"}