MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / loop_exception_handler

Method loop_exception_handler

asyncpg/_testbase/__init__.py:179–181  ·  view source on GitHub ↗
(self, loop, context)

Source from the content-addressed store, hash-verified

177 self.loop.set_exception_handler(old_handler)
178
179 def loop_exception_handler(self, loop, context):
180 self.__unhandled_exceptions.append(context)
181 loop.default_exception_handler(context)
182
183 def _format_loop_exception(self, context, n):
184 message = context.get('message', 'Unhandled exception in event loop')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected