You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ You can also add the package to your project using Composer.
22
22
23
23
## Configuring Bugsnag
24
24
1. Copy the config.php configuration file into your `craft/config` folder as **bugsnag.php**.
25
-
2. Update `serverApiKey` with a API key from your Bugsnag project.
25
+
2. Update `serverApiKey` with an API key from your Bugsnag project.
26
26
3. (Optionally) Set the `releaseStage` configuration setting to something. Defaults to `production`.
27
27
28
28
If you want to be able to capture early initialization errors, you need to add this plugin to your project's bootstrap configuration. To do this, in `config/app.php`, add the following:
@@ -58,7 +58,7 @@ return [
58
58
```
59
59
60
60
## Using Bugsnag
61
-
It will automatically log most exceptions/errors. If you want to log a exceptions/error from an custom plugin, you may use the service methods:
61
+
It will automatically log most exceptions/errors. If you want to log an exceptions/error from a custom plugin, you may use the service methods:
62
62
63
63
- For exceptions: `Bugsnag::$plugin->getService()->handleException($exception);`
Copy file name to clipboardExpand all lines: src/translations/en/bugsnag.php
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,5 @@
10
10
'Release stage' => 'Release stage',
11
11
'Blacklist' => 'Blacklist',
12
12
'Disable certain types of exceptions. Class have to be fully namespaced. (i.e. \\yii\\web\\NotFoundHttpException)' => 'Disable certain types of exceptions. Class have to be fully namespaced. (i.e. \\yii\\web\\NotFoundHttpException)',
0 commit comments