From 08b7670e7b32ae3ec213c6646f276a0db30635bf Mon Sep 17 00:00:00 2001 From: Daniel Compton Date: Wed, 7 Sep 2016 03:46:40 +1200 Subject: [PATCH] Fixup docstring on capture (#16) --- src/raven_clj/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/raven_clj/core.clj b/src/raven_clj/core.clj index b8c7e09..b963308 100644 --- a/src/raven_clj/core.clj +++ b/src/raven_clj/core.clj @@ -43,10 +43,11 @@ "/" (butlast (string/split url #"/")))) :project-id (Integer/parseInt (last (string/split url #"/")))})) -(defn capture [dsn event-info] +(defn capture "Send a message to a Sentry server. event-info is a map that should contain a :message key and optional keys found at https://docs.getsentry.com/hosted/clientdev/#building-the-json-packet" + [dsn event-info] (send-packet (merge (parse-dsn dsn) {:level "error"