I'm using getTraceAsString()
to get a stack trace but the string is being truncated for some reason.
Example, an exception is thrown and I log the string using:
catch (SoapFault $e) {
error_log( $e->getTraceAsString() )
}
The string thats prints out is:
#0 C:\Somedirectory\Somedirectory\Somedirectory\Somedir\SomeScript.php(10): SoapClient->SoapClient('http://www.ex...')
How can I get the full string to print?