From ffa3e8050360eb677fac46565ef55806e3bd34f0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 31 Mar 2023 21:56:36 -0400 Subject: [PATCH] Detail `pikerd` sock bind collision in error --- piker/service/_actor_runtime.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/piker/service/_actor_runtime.py b/piker/service/_actor_runtime.py index db727e2e..ea7399fa 100644 --- a/piker/service/_actor_runtime.py +++ b/piker/service/_actor_runtime.py @@ -183,7 +183,10 @@ async def open_pikerd( trio.open_nursery() as service_nursery, ): if root_actor.accept_addr != reg_addr: - raise RuntimeError(f'Daemon failed to bind on {reg_addr}!?') + raise RuntimeError( + f'`pikerd` failed to bind on {reg_addr}!\n' + 'Maybe you have another daemon already running?' + ) # assign globally for future daemon/task creation Services.actor_n = actor_nursery