From f14a058710d7c97dee6080a6b71b1fdfe9c37087 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Fri, 17 Apr 2020 18:02:01 +0200 Subject: [PATCH] standardized error message --- engine/nsmservercontrol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/nsmservercontrol.py b/engine/nsmservercontrol.py index 553eed8..6fcc15d 100644 --- a/engine/nsmservercontrol.py +++ b/engine/nsmservercontrol.py @@ -573,8 +573,8 @@ class NsmServerControl(object): if msg.oscpath == "/nsm/gui/session/root": sessionRoot = msg.params[0] ready = True - else: - logger.warning(f"Waiting for session root from nsmd but got: {msg.oscpath} {msg.params}") + else: + logger.error(f"Waiting for session root from nsmd, but got: {msg.oscpath} with {msg.params}. Adding to queue for later. If the server got started anyway and is reacting to your commands, it is fine for now.") self._queue.append(msg) except BlockingIOError: #happens while no data is received. Has nothing to do with blocking or not.