1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00
php-debugbar/demo/ajax_exception.php
2013-08-12 18:49:21 +10: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);
?>