forked from goodboy/tractor
1
0
Fork 0

Go back to only logging tbs on no debugger

CI_increment_for_windows_bidirstreaming
Tyler Goodlet 2021-06-30 08:45:43 -04:00
parent 6af30d5609
commit 623f473b84
1 changed files with 5 additions and 2 deletions

View File

@ -171,8 +171,11 @@ async def open_root_actor(
yield actor
except (Exception, trio.MultiError) as err:
logger.exception("Actor crashed:")
await _debug._maybe_enter_pm(err)
# with trio.CancelScope(shield=True):
entered = await _debug._maybe_enter_pm(err)
if not entered:
logger.exception("Root actor crashed:")
# always re-raise
raise