-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bugsnag config to DS and handle toast arg error
- Loading branch information
1 parent
89f38ba
commit 9d9626e
Showing
6 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ lib | |
.env.test.local | ||
.env.production.local | ||
.npmrc | ||
.env | ||
|
||
# Ignore Jetbrains IDE settings | ||
/.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import bugsnag from '@bugsnag/js'; | ||
import bugsnagReact from '@bugsnag/plugin-react'; | ||
import react from 'react'; | ||
|
||
import * as dotenv from 'dotenv'; | ||
|
||
dotenv.config(); | ||
|
||
const bugsnagClient = bugsnag({ | ||
apiKey: process.env.BUGSNAG_API_KEY_JS, | ||
}); | ||
|
||
bugsnagClient.use(bugsnagReact, react); | ||
|
||
export { bugsnagClient }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters