1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-28 04:00:43 +02:00
Files
php-debugbar/demo/demo_ajax_exception.php
2013-06-18 12:47:22 +09:00

16 lines
231 B
PHP

<?php
include 'bootstrap.php';
try {
throw new Exception('Something failed!');
} catch (Exception $e) {
$debugbar['exceptions']->addException($e);
}
?>
error from AJAX
<?php
echo $debugbarRenderer->render(false);
?>