(event: PromiseRejectionEvent)
| 187 | }); |
| 188 | }; |
| 189 | const onRejection = (event: PromiseRejectionEvent): void => { |
| 190 | guarded(() => { |
| 191 | const described = describeReason(event.reason); |
| 192 | buffer.record('error', 'promise', described.message, { |
| 193 | project: getProject(), stack: described.stack, |
| 194 | }); |
| 195 | }); |
| 196 | }; |
| 197 | const onHide = (): void => { |
| 198 | void buffer.flush(true); |
| 199 | }; |
nothing calls this directly
no test coverage detected