You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moniter a function which will throw a error or exception:
TestError.php:
class TestError
{
...
static function throwException()
{
$num = "hello world!";
throw new \Exception("throw some thing");
return $num;
}
...
}
[result]
Exception thrown in Proxied_TestError.php.
Fatal error: Uncaught Exception: throw some thing in /home/suwei/apps/aop/pinpoint-c-agent/PHP/pinpoint_php_example/Cache/app/Proxied_TestError.php:14 Stack trace: #0 /home/suwei/apps/aop/pinpoint-c-agent/PHP/pinpoint_php_example/Cache/app/TestError.php(15): app\Proxied_TestError::throwException() #1 /home/suwei/apps/aop/pinpoint-c-agent/PHP/pinpoint_php_example/app/index.php(180): app\TestError::throwException() #2 {main} thrown in /home/suwei/apps/aop/pinpoint-c-agent/PHP/pinpoint_php_example/Cache/app/Proxied_TestError.php on line 14
The text was updated successfully, but these errors were encountered:
[env]
pinpoint-c-agent: dev-2
[step]
TestError.php:
[result]
Exception thrown in Proxied_TestError.php.
The text was updated successfully, but these errors were encountered: