From 338395346d9a35560d94e9b0c6e5d4849a4f9799 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 afe91e7..de8388d 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -124,8 +124,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' )