{"id":16660028,"url":"https://github.com/source-c/sentry-tiny","last_synced_at":"2026-04-28T18:03:14.809Z","repository":{"id":47669877,"uuid":"118972799","full_name":"source-c/sentry-tiny","owner":"source-c","description":"Tiny \u0026 Lightweight Clojure interface for catching to Sentry","archived":false,"fork":false,"pushed_at":"2021-09-03T21:04:25.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T03:20:18.660Z","etag":null,"topics":["clojure-library","dkdhub","sentry","tbt-cloud","tiny-tools"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/source-c.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2018-01-25T22:01:04.000Z","updated_at":"2021-09-03T21:04:28.000Z","dependencies_parsed_at":"2022-08-30T11:41:46.148Z","dependency_job_id":null,"html_url":"https://github.com/source-c/sentry-tiny","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-c%2Fsentry-tiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-c%2Fsentry-tiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-c%2Fsentry-tiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-c%2Fsentry-tiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/source-c","download_url":"https://codeload.github.com/source-c/sentry-tiny/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101559,"owners_count":22014908,"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":["clojure-library","dkdhub","sentry","tbt-cloud","tiny-tools"],"created_at":"2024-10-12T10:27:34.701Z","updated_at":"2026-04-28T18:03:09.778Z","avatar_url":"https://github.com/source-c.png","language":"Clojure","readme":"= sentry-tiny\n\nA Clojure library designed to cover basic needs of pushing exceptions into Sentry.\nWe should prize every moment, isn't it?\n\nimage:https://img.shields.io/github/license/source-c/sentry-tiny[GitHub]\nimage:https://img.shields.io/clojars/v/net.tbt-post/sentry-tiny.svg[]\nimage:https://img.shields.io/clojars/dt/net.tbt-post/sentry-tiny[ClojarsDownloads]\nimage:https://img.shields.io/github/v/release/source-c/sentry-tiny[GitHub release (latest by date)]\nimage:https://img.shields.io/github/release-date/source-c/sentry-tiny[GitHub Release Date]\nimage:https://img.shields.io/github/v/tag/source-c/sentry-tiny[GitHub tag (latest by date)]\nimage:https://img.shields.io/github/last-commit/source-c/sentry-tiny[GitHub last commit]\n\n\n== Usage\n\nAdd the following to your http://github.com/technomancy/leiningen[Leiningen's] `project.clj`:\n\n[source,clojure]\n----\n[net.tbt-post/sentry-tiny \"0.1.14\"]\n----\n\nand just use it to catch your exception:\n\n[source,clojure]\n----\n(require '[sentry-tiny.core :as stc])\n\n(def dsn \"http://\u003cdigest\u003e@\u003csentry\u003e/\u003cid\u003e\")\n\n(defn catch [ns _ _ ^Throwable e]\n  (-\u003e dsn\n      stc/parse-dsn\n      (stc/capture (stc/e-\u003eevi [(str ns)] e))))\n----\n\nor to just send a message\n\n[source,clojure]\n----\n(defn message [msg]\n  (-\u003e dsn\n      stc/parse-dsn\n      (stc/capture\n        (stc/e-\u003eevi [(str *ns*)]\n                    (RuntimeException. msg))\n        \"warning\")))\n----\n\nYou may eventually use it as a replacement inside of your web app router.\n\n== Manual Build\n\n[source,text]\n----\n$ lein install\n----\n\n== License\n\nCopyright © 2017-2021\n\nDistributed under the http://www.apache.org/licenses/LICENSE-2.0[Apache License v 2.0]\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsource-c%2Fsentry-tiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsource-c%2Fsentry-tiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsource-c%2Fsentry-tiny/lists"}