1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00

docs: addException => addThrowable (#419)

ExceptionsCollector->addException() is deprecated since #281.
This commit is contained in:
Claas Augner 2019-09-05 15:46:04 +02:00 committed by Barry vd. Heuvel
parent e9d3263a1c
commit 2a95c20da4

View File

@ -59,7 +59,7 @@ Display exceptions
try {
throw new Exception('foobar');
} catch (Exception $e) {
$debugbar['exceptions']->addException($e);
$debugbar['exceptions']->addThrowable($e);
}
## PDO