From 7431e8ea0166e32e08c3d6b0696cf0c50e149514 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 2 Aug 2021 20:37:27 -0400 Subject: [PATCH] Don't log cancelled inceptions seen by the root --- tractor/_root.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tractor/_root.py b/tractor/_root.py index bfaaf4f..9eba909 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -17,6 +17,7 @@ from . import _spawn from . import _state from . import log from ._ipc import _connect_chan +from ._exceptions import is_multi_cancelled # set at startup and after forks @@ -177,7 +178,7 @@ async def open_root_actor( entered = await _debug._maybe_enter_pm(err) - if not entered: + if not entered and not is_multi_cancelled(err): logger.exception("Root actor crashed:") # always re-raise