Skip to content

Commit 2a95c20

Browse files
caugnerbarryvdh
authored andcommitted
docs: addException => addThrowable (php-debugbar#419)
ExceptionsCollector->addException() is deprecated since php-debugbar#281.
1 parent e9d3263 commit 2a95c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/base_collectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Display exceptions
5959
try {
6060
throw new Exception('foobar');
6161
} catch (Exception $e) {
62-
$debugbar['exceptions']->addException($e);
62+
$debugbar['exceptions']->addThrowable($e);
6363
}
6464

6565
## PDO

0 commit comments

Comments
 (0)