( request: Request, reason: string, postponeInfo: ThrownInfo, debugTask: null | ConsoleTask, )
| 1200 | } |
| 1201 | |
| 1202 | function logPostpone( |
| 1203 | request: Request, |
| 1204 | reason: string, |
| 1205 | postponeInfo: ThrownInfo, |
| 1206 | debugTask: null | ConsoleTask, |
| 1207 | ): void { |
| 1208 | // If this callback errors, we intentionally let that error bubble up to become a fatal error |
| 1209 | // so that someone fixes the error reporting instead of hiding it. |
| 1210 | const onPostpone = request.onPostpone; |
| 1211 | if (__DEV__ && debugTask) { |
| 1212 | debugTask.run(onPostpone.bind(null, reason, postponeInfo)); |
| 1213 | } else { |
| 1214 | onPostpone(reason, postponeInfo); |
| 1215 | } |
| 1216 | } |
| 1217 | |
| 1218 | function logRecoverableError( |
| 1219 | request: Request, |
no test coverage detected