Skip to content

Commit 75f749b

Browse files
authored
Use addThrowable instead of deprecated addException
1 parent 328d204 commit 75f749b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Or log exceptions:
116116
try {
117117
throw new Exception('foobar');
118118
} catch (Exception $e) {
119-
Debugbar::addException($e);
119+
Debugbar::addThrowable($e);
120120
}
121121
```
122122

0 commit comments

Comments
 (0)