From 48f8553c75360110ffcd60e4970797195275a392 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 4 Feb 2021 15:52:48 +0100 Subject: [PATCH] Show the current core state on message (#2516) --- supervisor/jobs/decorator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supervisor/jobs/decorator.py b/supervisor/jobs/decorator.py index 5c36a8236..ec0ebb023 100644 --- a/supervisor/jobs/decorator.py +++ b/supervisor/jobs/decorator.py @@ -99,8 +99,9 @@ class Job: and self._coresys.core.state != CoreState.RUNNING ): _LOGGER.warning( - "'%s' blocked from execution, system is not running", + "'%s' blocked from execution, system is not running - %s", self._method.__qualname__, + self._coresys.core.state, ) return False