Hey guys,

from using GWT a while ago (it was a blast, thanks!), I know that it
allows you to install an uncaught exception handler that will handle
all exceptions. That way you can e.g. send them to a server where they
are logged. How does GWT compile that into Javascript code?

I have been trying to implement the same thing using vanilla
JavaScript. Turns out some browsers allow you to attach an onerror
handler to the document object and others don't (most notably all
webkit-based). The general opinion in the JavaScript crowd seems to be
that there is no way to install a catch-all exception handler.

So, what's the magic trick? Or does GWT really surround every function
with try catch? But even then, I only want to log errors that are not
explicitly caught somewhere along the way.

Any insights are greatly appreciated :)

Cheers, Jonas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to