Skip to content

Commit

Permalink
docs: addException => addThrowable (#419)
Browse files Browse the repository at this point in the history
ExceptionsCollector->addException() is deprecated since #281.
  • Loading branch information
caugner authored and barryvdh committed Sep 5, 2019
1 parent e9d3263 commit 2a95c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/base_collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Display exceptions
try {
throw new Exception('foobar');
} catch (Exception $e) {
$debugbar['exceptions']->addException($e);
$debugbar['exceptions']->addThrowable($e);
}

## PDO
Expand Down

0 comments on commit 2a95c20

Please sign in to comment.