From e6c196f25090d085eaf191f8269be8e87faac009 Mon Sep 17 00:00:00 2001 From: Daniel Compton Date: Tue, 6 Sep 2016 17:21:33 +1200 Subject: [PATCH] Fixup docstring on capture --- 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"