Thanks Steve - exactly what I needed - cool stuff.

On Nov 1, 2012, at 3:06 AM, Steve Buikhuizen <steve.buikhui...@gmail.com> wrote:

> No problem. On the client (cljs) you should:
>       • require [goog.debug.ErrorReporter :as reporter]
>       • (reporter/install "/er")
> On the server (I'm using Noir which supplies defpage)
> 
> 
> (defpage [:post "/er"] {:keys [error line script trace]}
> 
>   (service/record-client-error error line script trace)
> 
>   (str "ACK"))
> 
> where record-client-error is a function you create that does whatever you 
> want it to do e.g. save to a database, log using log4j or send to an 
> aggregator e.g. Loggly
> 
> I know this is still pretty brief. If you want more detail, just say which 
> part is not clear - I'll happily elaborate
> 
> 

-- 
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

Reply via email to