{"id":20740928,"url":"https://github.com/rollbar/clj-rollbar","last_synced_at":"2025-10-21T23:44:48.537Z","repository":{"id":7173431,"uuid":"8474873","full_name":"rollbar/clj-rollbar","owner":"rollbar","description":"(pre-alpha) Clojure client for Rollbar","archived":true,"fork":false,"pushed_at":"2024-04-30T13:59:08.000Z","size":13,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-05-08T00:06:12.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/rollbar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2013-02-28T08:21:30.000Z","updated_at":"2024-12-19T00:02:53.000Z","dependencies_parsed_at":"2024-11-17T06:34:52.254Z","dependency_job_id":"ad614a67-bc67-4dfb-9941-09d120ab78b9","html_url":"https://github.com/rollbar/clj-rollbar","commit_stats":{"total_commits":13,"total_committers":6,"mean_commits":"2.1666666666666665","dds":0.6923076923076923,"last_synced_commit":"6a39c416b8abd16719f04967fcf0f0623c47c348"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fclj-rollbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fclj-rollbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fclj-rollbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fclj-rollbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollbar","download_url":"https://codeload.github.com/rollbar/clj-rollbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"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-17T06:31:19.921Z","updated_at":"2025-10-21T23:44:43.265Z","avatar_url":"https://github.com/rollbar.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Attention:\n\nAs of May 2024, Rollbar will not be actively updating this repository and plans to archive it in January of 2025. We encourage our community to fork this repo if you wish to continue its development. While Rollbar will no longer be engaging in active development, we remain committed to reviewing and merging pull requests related to security updates. If an actively maintained fork emerges, please reach out to our support team and we will link to it from our documentation.\n\n\n# clj-rollbar\n\nClojure client for [Rollbar](https://rollbar.com)\n\nWork in progress.\n\n## Usage\n\n```clojure\n(require '[clj-rollbar.core :as rollbar])\n\n; exceptions\n(try\n  (\"nofn\")\n  (catch Throwable e\n    (rollbar/report-exception \"access-token\" \"environment-name\" e)))\n\n; log messages\n(rollbar/report-message \"access-token\" \"environment-name\"\n                        \"Something critical happened\" \"critical\")\n```\n\nYou can also add information from a Ring HTTP request map, like so:\n\n```clojure\n(rollbar/report-exception \"access-token\" \"environment-name\" e\n                          :request the-ring-request-map)))\n```\n\nYou can use this feature with some ring middleware, like so:\n\n```clojure\n(defn default-handler\n  [request]\n  {:status 204})\n\n(defn wrap-error-page\n  \"Ring middleware\"\n  [handler]\n  (fn [request]\n    (try\n      (handler request)\n      (catch Throwable e\n        (rollbar/report-exception \"access-token\" \"environment-name\" e\n                                  :request request)))))\n\n(def app (wrap-error-page default-handler))\n```\n\nOne caveat: the request body cannot be read from the request map more than\nonce, unless special care is taken.  See [this Stack Overflow\nquestion](http://stackoverflow.com/q/20553899/202292) for more information.\n\n## License\n\nCopyright (C) 2013 Rollbar, Inc.\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollbar%2Fclj-rollbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollbar%2Fclj-rollbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollbar%2Fclj-rollbar/lists"}