MCPcopy
hub / github.com/nonebot/nonebot2 / _handle

Function _handle

nonebot/message.py:139–140  ·  view source on GitHub ↗
(exc_group: BaseExceptionGroup[IgnoredException])

Source from the content-addressed store, hash-verified

137 msg: str,
138) -> Callable[[BaseExceptionGroup[IgnoredException]], None]:
139 def _handle(exc_group: BaseExceptionGroup[IgnoredException]) -> None:
140 logger.opt(colors=True).info(msg)
141
142 return _handle
143

Callers

nothing calls this directly

Calls 1

flatten_exception_groupFunction · 0.90

Tested by

no test coverage detected