Hi, The last thrown Exception/Error is kept in the var *e.
You should be able to view the complete stack trace of the last thrown exception by calling something like: (.printStackTrace *e) Ambrose 2011/8/19 J. Pablo Fernández <pup...@pupeno.com> > Hello Clojurians, > > I'm struggling to work with errors in Clojure. This is one example, one > case, but I had many like these before: > > user=> (load-file "/Users/pupeno/Projects/mgr/src/lobos/migrations.clj") > org.postgresql.util.PSQLException: FATAL: role "lobos" does not exist > (config.clj:1) > > It just gives one line, no stack trace. config.clj looks like this: > > (ns lobos.config) > > (def db > {:classname "org.postgresql.Driver" > :subprotocol "postgresql" > :subname "//localhost:5432/mgr" > :user "mgr" > :password "chi1lie7Wai3ioP6aing3ooci"}) > > What now? how do I start to unravel this? How would you do it? > > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en