Temporarily use crash handler around search CLI ep
parent
a98f5877bc
commit
b6ac6069fe
|
@ -482,6 +482,8 @@ def search(
|
|||
):
|
||||
return await func()
|
||||
|
||||
from cornerboi._debug import open_crash_handler
|
||||
with open_crash_handler():
|
||||
quotes = trio.run(
|
||||
main,
|
||||
partial(
|
||||
|
|
|
@ -145,7 +145,11 @@ async def symbol_search(
|
|||
|
||||
async with maybe_spawn_brokerd(
|
||||
mod.name,
|
||||
infect_asyncio=getattr(mod, '_infect_asyncio', False),
|
||||
infect_asyncio=getattr(
|
||||
mod,
|
||||
'_infect_asyncio',
|
||||
False,
|
||||
),
|
||||
) as portal:
|
||||
|
||||
results.append((
|
||||
|
|
Loading…
Reference in New Issue