email error more information about error (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


crosscreek -> email error more information about error (4/5/2008 21:29:53)

I have a errorpage.asp page set up that will email me an error;
I trap it from the page & send

<!--#include virtual="Errorpage.asp"-->
<%If Err.number <> 0 then
TrapError Err.description

For instance:

I receive an error message
At 4/5/2008 1:57:18 PM the following errors occurred on the page /pedigree.asp : Type mismatch,

I there a way I can find out which line & more details if it's a syntax error, etc.

I google errors & read somewhere that I could but I can't find the where I found it.
Thanks





However




Spooky -> RE: email error more information about error (4/5/2008 21:51:02)

Depends what you are doing really - that type of bug should be found in normal testing. Using ON ERROR RESUME NEXT to raise the error could make the error actually harder to find




crosscreek -> RE: email error more information about error (4/5/2008 22:25:28)

Thanks...I think you are correct...

I figured out:

That bug happens if someone types in a id number of a dog that doesn't exsit in the URL
pedigree.asp?id=0

Need to worry more about fixing & not having errors then trying to figure out a custom code to have them sent to me.

Thanks




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.711914E-02