Skip to content

Commit 4b4f0f8

Browse files
author
Alan Christie
committed
refactor: Minor log tweak
1 parent 6ac001d commit 4b4f0f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/security.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def get_conn() -> Optional[Connector]:
9292
# Assume the credentials are invalid if there is no host.
9393
# If a host is not defined other properties are useless.
9494
if not credentials["host"]:
95+
logger.debug("No ISPyB host - cannot return a connector")
9596
return None
9697

9798
conn: Optional[Connector] = None

0 commit comments

Comments
 (0)