Send catched ajax exception back to server to perform logging? -


i have mvc3 application , i'm using elmah store errors in mysql database , send errors email. working perfectly, have javascript code in main layout:

$(document).ajaxerror(function (e, xhr, settings, exception) {    //send server exception }); 

now, want catched exception (the ajax exception) , send server method stores exception elmah. possible? if isn't choice have?

this following article shows guidance on how log javascript errors elmah:

logging errors elmah in asp.net mvc 3 – part 5 – (javascript)

i know mechanism report error server specific mvc, should adaptable asp.net web forms if needed.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -