Paul Butcher wrote: > We would like to trap window.onerror so that we can do something > intelligent with Javascript errors. Unfortunately it appears as though > Prototype is doing something to defeat it? > ... A quick search shows that Prototype 1.6 does not add a window.onerror handler. If you have Firebug installed, it may attach a handler.
Another option is to write a script to combine your JavaScript files into one file, wrap it in a try-catch block to process caught errors as you choose, and cache the combined file to a web-readable directory. - Ken Snyder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---