Hello all, I'm developing a website with server-side JScript engine over ASP server.
I have several try-catch clauses in my code looking roughly like this:
try {
// do something
}
catch (err) {
// pass it to the frontend code
die("Exception caught: " + err.description);
}
I would very much like to display the line number in which the error occurred. The filename would be a nice bonus but it's not very important. How can it be done?
Thanks!