(timeoutMs = 2000)
| 143 | }) { |
| 144 | if (!sentryEnabled) { |
| 145 | return; |
| 146 | } |
| 147 | Sentry.addBreadcrumb(data); |
| 148 | } |
| 149 | |
| 150 | export async function flushSentry(timeoutMs = 2000): Promise<void> { |
| 151 | if (!sentryEnabled) { |
| 152 | return; |
| 153 | } |
no test coverage detected