technomancy / swank-clojure

Swank/slime support for clojure
Eclipse Public License 1.0
412 stars 83 forks source link

Try .toString on current-exception before defaulting to "No message." #133

Closed ryfow closed 12 years ago

ryfow commented 12 years ago

Some Exceptions have a null message but toString provides valuable information. Cassandra's InvalidRequestException is an example.

This change tries .getMessage, then .toString before defaulting to "No message."

technomancy commented 12 years ago

Thanks, but I'm actually ceasing maintainership of swank in favour of nrepl.el and ritz, which are seeing much more active development effort.

I'll go ahead and merge this, but I don't have any plans to make a further release.