mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-25 02:31:25 +02:00
docs: addException => addThrowable (#419)
ExceptionsCollector->addException() is deprecated since #281.
This commit is contained in:
committed by
Barry vd. Heuvel
parent
e9d3263a1c
commit
2a95c20da4
@@ -59,7 +59,7 @@ Display exceptions
|
||||
try {
|
||||
throw new Exception('foobar');
|
||||
} catch (Exception $e) {
|
||||
$debugbar['exceptions']->addException($e);
|
||||
$debugbar['exceptions']->addThrowable($e);
|
||||
}
|
||||
|
||||
## PDO
|
||||
|
Reference in New Issue
Block a user