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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user