From 4df50b518e79a4d8a1470c4c7fcca3de33d7724b Mon Sep 17 00:00:00 2001
From: Cyril Danilevski <cyril.danilevski@xfel.eu>
Date: Thu, 1 Sep 2022 12:21:30 +0200
Subject: [PATCH] Clarify log message to add beamtime date check

---
 webservice/webservice.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webservice/webservice.py b/webservice/webservice.py
index 7b4cbe6e3..58c402280 100644
--- a/webservice/webservice.py
+++ b/webservice/webservice.py
@@ -610,7 +610,7 @@ async def get_slurm_partition(
                     )
 
     logging.debug(
-        f"Using {partition} for {proposal_number} because {status_beamtime}"
+        f"Using {partition} for {proposal_number} because {status_beamtime} and active now: {active_now}"
     )
 
     return partition
-- 
GitLab