[eluser]LeePR[/eluser]
I've been pulling my hair out over the weekend trying to figure out why my display_error settings in php.ini were being ignored. Now I've got an issue with exceptions...
I currently have my log_threshold set to 4 and have set error_reporting(E_ALL) in CodeIgniter.
Here's my problem... I have code like this:
Code:
$myObj = new Object();
$value = null;
$myObj->setName($value); // throws an exception
Line #3 throws an exception - of course, all I need to handle that is a try{} catch{} block, but is there any way to make CI tell me that I have an uncaught exception?!? Right now, I'm just getting a blank page. I come from a Java background - debugging/testing would be so much easier if I could make CI display uncaught exception in a manner similar to PHP warnings/notices.
Cheers,
Lee