What I mean is the exceptions dont show up in the browser. I see them in the server terminal. The browser will either show a blank screen or the last route that worked. Only when I go to the server terminal is when I see the stacktarce.
So sometimes its misleading, even though I may see content on the screen, there was actually an error on the server side. On Friday, September 7, 2012 3:45:27 PM UTC+5:30, Herwig Hochleitner wrote: > > 2012/9/7 Murtaza Husain <murtaza...@sevenolives.com <javascript:>> > >> I have noticed that moustache swallows any errors, is there a way so that >> any errors bubble up ? >> > > I'm not sure what you mean, in my experiences exceptions thrown by > handlers always bubble up. > > in this example > > (defn route-handler [req] > (throw (clojure.lang.ExceptionInfo. "Error"))) > > (def server-handler > (app > ["route"] route-handler)) > > the exception would hit ring, when visiting /route, as it should. > Can you post an example showing the erratic behavior? > -- 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