Re: Callstack from load-file

2008-10-18 Thread Parth Malwankar
On Oct 18, 9:40 pm, jim <[EMAIL PROTECTED]> wrote: > Hey all, > > I had a situation where a source file wouldn't load and the error > message was unhelpful: > > java.lang.IllegalArgumentException: Too many arguments to struct > constructor (source-file.clj:0) > > So, I threw together a quick hac

Callstack from load-file

2008-10-18 Thread jim
Hey all, I had a situation where a source file wouldn't load and the error message was unhelpful: java.lang.IllegalArgumentException: Too many arguments to struct constructor (source-file.clj:0) So, I threw together a quick hack to print the call stack: (defn callstack-str [thrown] (