Ajax.

Catch the JavaScript errors with a try-catch construction, and send
the catched error to a "logging" URL on your server, like:

http://www.worldwildweather.com/log.php?message=<catched error
message>

Niek

On 13 jan, 14:43, Jesper <[email protected]> wrote:
> Hi MochiKit people,
>
> I am a happy MochiKit and Javascript amateur using MochiKit for my
> personal marine weather forecast site:
>
> http://www.worldwildweather.com
>
> (I am still struggling with a few Javascript issues so please do not
> kill me if it does not work)
>
> During the real world testing of my web site my users have encountered
> some Javascript errors. To facilitate debugging and to build a more
> robust application I would like to log Javascript errors and info
> (using MochiKit.Logging) and send it back to my server for analysis.
>
> Has anyone got an example showing how this is done or maybe just some
> pointers to get me started.
>
> Best regards,
> Jesper

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to