I'm getting the following error message from the mysqli adapter, and I'd
like to know how to gain access to the real error message -

Fatal error: Exception thrown without a stack frame in Unknown on line 0

In this case, the exact offending code was trying to insert an alphanumeric
string into a column with type integer -

$myquery = "INSERT INTO {$this->_name} VALUES ('thisisgoingtobreak')";
$var = $this->getAdapter()->query($myquery);

I simplified this example a great deal to demonstrate the problem, but this
was originally a tough bug to find because I'm not getting a meaningful
error message from the adapter.  Is there a way to get some more verbose
error handling?  I feel like this should have been a very simple bug to
track down if only I was given the error message.

Thanks,
- Ryan

Reply via email to