Kevin Waterson wrote:
> This one time, at band camp, "Christopher J. Bottaro"
> <[EMAIL PROTECTED]> 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();
> }
> ?>
No. The exception is not being caught and is propagating all the way up.
Then it is displayed on the webpage along with the call stack. The problem
is that a lot of the text is cut short so it will fit on the webpage
without word wrapping.
> Kevin
-- C
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php