Err object VS. GetLastError()
From: Nick Messick (nmessick_at_gmail.com)
Date: 11/25/04
- Next message: MEM: "Re: ASP Application Object"
- Previous message: Apollon Olympious: "Re: Remote scripting language problem"
- Next in thread: Aaron [SQL Server MVP]: "Re: Err object VS. GetLastError()"
- Reply: Aaron [SQL Server MVP]: "Re: Err object VS. GetLastError()"
- Messages sorted by: [ date ] [ thread ]
Date: 24 Nov 2004 16:11:56 -0800
The original programmer of our website put "on error resume next" on
every page to cover up his lack of skill. Many of our pages are
returning errors that we never see.
I want to make a little script that emails me at the occurance of an
error. I copied one that used the Err object but I don't want to use
it because I would like line numbers is the email.
I then copied our custom 500 error page that uses the GetLastError
function but it always seems to be empty, like no error occurred.
The function "If Err Then" returns true so the Err object sees the
error. Why won't GetLastError return the error.
- Next message: MEM: "Re: ASP Application Object"
- Previous message: Apollon Olympious: "Re: Remote scripting language problem"
- Next in thread: Aaron [SQL Server MVP]: "Re: Err object VS. GetLastError()"
- Reply: Aaron [SQL Server MVP]: "Re: Err object VS. GetLastError()"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|