Commit 1b1fac0
committed
Changed
ref https://linear.app/ghost/issue/BER-3132
- The `require('@tryghost/errors')` adds 50-100ms on boot time, this is
due to the package's own initialization and `require()`. Since it's not
needed at boot, it can be moved inside the `beforeSend` function.require() on sentry to boot faster1 parent 7262fa0 commit 1b1fac0
File tree
1 file changed
+2
-1
lines changed1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments