(future: Future)
| 585 | io_loop = IOLoop.current() |
| 586 | |
| 587 | def error_callback(future: Future) -> None: |
| 588 | try: |
| 589 | future.result() |
| 590 | except Exception as e: |
| 591 | if not isinstance(e, quiet_exceptions): |
| 592 | app_log.error( |
| 593 | "Exception in Future %r after timeout", future, exc_info=True |
| 594 | ) |
| 595 | |
| 596 | def timeout_callback() -> None: |
| 597 | if not result.done(): |