scgilardi/slingshot — Issue #11: Unable to resolve symbol throw+ in this context
Author: AlexBaranosky
Created: 2011-10-08 22:51:09+00:00
State: open

Hello,

Just thought I'd try out slingshot for some specialized error handling in a project of mine (https://github.com/AlexBaranosky/EmailClojMatic/blob/master/src/core.clj).

Added 0.4 to my project file:

``` clojure
[slingshot "0.4.0"]
```

Then added to my code this:

``` clojure
(:use [slingshot.core :only [try+]])

(defn run-reminders [recipients]
(when (valid-config? (config))
(try+
(email-reminders-to* recipients)
(catch Throwable e
(disperse-parse-error-email recipients e)))))
```

The change that breaks it is adding the "+".

Upon running the tests I receive a stack trace:
java.lang.Exception: Unable to resolve symbol: throw+ in this context (core.clj:120)

I couldn't figure out which core.clj this is referring to. Neither my core.clj, nor slingshot's appears to be that long.

Thanks,
Alex