Re: clojure.contrib.stacktrace

2009-03-07 Thread Mark Volkmann
On Sat, Mar 7, 2009 at 10:31 AM, Stuart Sierra wrote: > > On Mar 6, 5:14 pm, Mark Volkmann wrote: >> What's the recommended way to use this library in code that is run >> outside a REPL to simplify stack traces so they focus on Clojure code >> instead of Java code? > > Hi Mark, > > I wrote that

Re: clojure.contrib.stacktrace

2009-03-07 Thread Mark McGranaghan
Hi Mark, Stuart might be referring to clj-backtrace: http://github.com/mmcgrana/clj-backtrace This library parses the Java exception information and renders it for better readability, especially for elements in the trace corresponding to Clojure code. user=> (try ("foo") (catch Exception e (pst

Re: clojure.contrib.stacktrace

2009-03-07 Thread Stuart Sierra
On Mar 6, 5:14 pm, Mark Volkmann wrote: > What's the recommended way to use this library in code that is run > outside a REPL to simplify stack traces so they focus on Clojure code > instead of Java code? Hi Mark, I wrote that library so I could use it in test-is, so I'm not sure if it will hel