dev.meghraj
dev.meghraj

Reputation: 9120

Is there any global javascript error handler? (even is it possible with just chrome or Firefox)

Javascript applications are growing day by day and getting complex too. so is there possible to handle uncatched error that occured in app so they can be send back to server for further analysis.

i just see in phpmyadmin app sometimes show a little popup in bottom say that javascript error occurred would you like to send to server.

I am not asking about try catch or block level error handling instead i want to know weather is it possible to handle global errors just like any browser show in console/log areas. if yes then how.

Ohh sorry.. got answers Logging Clientside JavaScript Errors on Server

Upvotes: 0

Views: 101

Answers (1)

Adam R. Nelson
Adam R. Nelson

Reputation: 551

The HTML onerror event may be what you want.

Upvotes: 1

Related Questions