Passthrough `_pause()` kwargs from `_maybe_enter_pm()`

structural_dynamics_of_flow
Tyler Goodlet 2025-04-11 01:16:46 -04:00
parent d534f1491b
commit 1ccb14455d
1 changed files with 2 additions and 0 deletions

View File

@ -3003,6 +3003,7 @@ async def _maybe_enter_pm(
[BaseException|BaseExceptionGroup],
bool,
] = lambda err: not is_multi_cancelled(err),
**_pause_kws,
):
if (
@ -3029,6 +3030,7 @@ async def _maybe_enter_pm(
await post_mortem(
api_frame=api_frame,
tb=tb,
**_pause_kws,
)
return True