Re: How to show complete exception text?

From: Date: Fri, 19 Aug 2005 06:53:11 +0000
Subject: Re: How to show complete exception text?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-220924@lists.php.net to get a copy of this message
This one time, at band camp, "Christopher J. Bottaro" <cjbottaro@alumni.cs.utexas.edu> wrote: > Hi, > > When an exception propagates all the way up the stack frame and splatters > itself on my webpage, most of the text is cut off! This is completely > useless. I can see that there is an error, but I can't read the frickin > error message. How do I configure PHP to show the entire exception > message? not sure of your code, are you trying to do something like.. <?php try { lots of good code; } catch(Exception $e){ echo 'oh my, and exception has been thrown'.$e->getMessage(); } ?> Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."

« previous php.general (#220924) next »