[Gas] debugging question

Sigfried Gold sigfried at onthejob.net
Tue Jun 5 15:57:54 CDT 2001


Hi,

It's so frustrating getting these database errors while doing
gas programming.  All other errors (except compilation) give
a nice line number, but database errors just give the line
number from the main cgi where handle_exception is called,
not the place where you called the dbh function that caused
the error.

Is there any way to get better error reporting on these?

Here' what the debug code looks like:

[Tue Jun  5 15:51:55 2001] (Ox1GZYCuz80AAGBqt0Y) eon.cgi: Uncaught Gas
Exception: DBD::Pg::db selectrow_array failed: ERROR:  attribute
'evaluationform_id' not found
Gas::ErrorManager::handle_exception('Gas::ErrorManager=HASH(0x8498014)',
'DBD::Pg::db selectrow_array failed: ERROR:  attribute \'evaluati...') called
at /home/sgold/public_html/cgi-bin/eon.cgi line 89


thanks,
sigfried




More information about the Gas mailing list