From d20f711fb0b17958606eeb6c8e3e4ac75313bc75 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 30 Apr 2024 12:56:29 -0400 Subject: [PATCH] Tweak `breakpoint()` usage error message --- tractor/_root.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tractor/_root.py b/tractor/_root.py index c07d8ae3..c02b71f8 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -122,8 +122,9 @@ async def open_root_actor( # usage by a clobbered TTY's stdstreams! def block_bps(*args, **kwargs): raise RuntimeError( - '`tractor` blocks built-in `breakpoint()` calls by default!\n' - 'If you need to us it please install `greenback` and set ' + 'Trying to use `breakpoint()` eh?\n' + 'Welp, `tractor` blocks `breakpoint()` built-in calls by default!\n' + 'If you need to use it please install `greenback` and set ' '`debug_mode=True` when opening the runtime ' '(either via `.open_nursery()` or `open_root_actor()`)\n' )