(message: string, reportToSentry = true)
| 154 | } |
| 155 | |
| 156 | export function errorLog(message: string, reportToSentry = true) { |
| 157 | if (reportToSentry) { |
| 158 | Sentry.captureMessage(message); |
| 159 | } |
| 160 | console.error(message); |
| 161 | } |
| 162 | |
| 163 | export const sentryFlush = async () => { |
| 164 | await Sentry.flush(awaitSentryFlushMs); |
no outgoing calls
no test coverage detected