Re: How to show complete exception text?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one time, at band camp, "Christopher J. Bottaro" <cjbottaro@xxxxxxxxxxxxxxxxxxxx> 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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux