Commit 8aad213
committed
Fix: Improve error resistance for Sentry initializer
We check `sentrySettings.data()['enabled']` to determine whether Sentry should be enabled. By adding an additional safe-guard, we ensure that even pages without a Sentry meta tag don't cause errors in the JavaScript console.1 parent 5acecc4 commit 8aad213
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments