Go back to only logging tbs on no debugger

db_backup
Tyler Goodlet 2021-06-30 08:45:43 -04:00
parent 2f5dc0783f
commit 3483ed4e6f
1 changed files with 5 additions and 2 deletions

View File

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