{"id":15287979,"url":"https://github.com/mimiquate/tower_error_tracker","last_synced_at":"2025-04-13T06:28:11.096Z","repository":{"id":257802936,"uuid":"861973806","full_name":"mimiquate/tower_error_tracker","owner":"mimiquate","description":"Tower reporter for ErrorTracker","archived":false,"fork":false,"pushed_at":"2025-03-25T13:35:56.000Z","size":141,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T09:42:44.600Z","etag":null,"topics":["elixir","error-handling","error-monitoring","error-reporting","error-tracking","tower"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/tower_error_tracker","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}},"created_at":"2024-09-23T20:07:18.000Z","updated_at":"2025-03-05T12:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"110040e2-3cad-4784-8fa0-14df91d0db70","html_url":"https://github.com/mimiquate/tower_error_tracker","commit_stats":null,"previous_names":["mimiquate/tower_error_tracker"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_error_tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_error_tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_error_tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_error_tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimiquate","download_url":"https://codeload.github.com/mimiquate/tower_error_tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248673818,"owners_count":21143579,"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-handling","error-monitoring","error-reporting","error-tracking","tower"],"created_at":"2024-09-30T15:43:39.465Z","updated_at":"2025-04-13T06:28:11.070Z","avatar_url":"https://github.com/mimiquate.png","language":"Elixir","readme":"# TowerErrorTracker\n\n[![ci](https://github.com/mimiquate/tower_error_tracker/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/mimiquate/tower_error_tracker/actions?query=branch%3Amain)\n[![Hex.pm](https://img.shields.io/hexpm/v/tower_error_tracker.svg)](https://hex.pm/packages/tower_error_tracker)\n[![Documentation](https://img.shields.io/badge/Documentation-purple.svg)](https://hexdocs.pm/tower_error_tracker)\n\n[Tower](https://github.com/mimiquate/tower) reporter for [ErrorTracker](https://github.com/elixir-error-tracker/error-tracker).\n\n## Installation\n\nPackage can be installed by adding `tower_error_tracker` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:tower_error_tracker, \"~\u003e 0.3.6\"}\n  ]\nend\n```\n\n\u003e [!NOTE]\n\u003e Don't list `:error_tracker` in the dependencies, it is already included as part of `:tower_error_tracker`.\n\u003e If you really must list it, list it with [`runtime: false`](https://hexdocs.pm/mix/Mix.Tasks.Deps.html#module-dependency-definition-options), so you don't get [duplicated](https://github.com/mimiquate/tower_error_tracker/issues/38) errors reports.\n\n## Usage\n\nTell `Tower` to inform `TowerErrorTracker` reporter about errors.\n\n```elixir\n# config/config.exs\n\nconfig(\n  :tower,\n  :reporters,\n  [\n    # along any other possible reporters\n    TowerErrorTracker\n  ]\n)\n```\n\nAnd configure and set up `:error_tracker` new database tables by following just these two ErrorTracker sections:\n\n- [Configure](https://github.com/elixir-error-tracker/error-tracker/blob/main/guides/Getting%20Started.md#configuring-errortracker)\n- [Set up the database](https://github.com/elixir-error-tracker/error-tracker/blob/main/guides/Getting%20Started.md#setting-up-the-database)\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\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimiquate%2Ftower_error_tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimiquate%2Ftower_error_tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimiquate%2Ftower_error_tracker/lists"}