forked from goodboy/tractor
Tweak `breakpoint()` usage error message
parent
30c5896d26
commit
338395346d
|
@ -124,8 +124,9 @@ async def open_root_actor(
|
||||||
# usage by a clobbered TTY's stdstreams!
|
# usage by a clobbered TTY's stdstreams!
|
||||||
def block_bps(*args, **kwargs):
|
def block_bps(*args, **kwargs):
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
'`tractor` blocks built-in `breakpoint()` calls by default!\n'
|
'Trying to use `breakpoint()` eh?\n'
|
||||||
'If you need to us it please install `greenback` and set '
|
'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 '
|
'`debug_mode=True` when opening the runtime '
|
||||||
'(either via `.open_nursery()` or `open_root_actor()`)\n'
|
'(either via `.open_nursery()` or `open_root_actor()`)\n'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue