fix: Just another verbosity improvement

This commit is contained in:
Piotr Dec 2026-04-14 03:38:18 +02:00
parent 64726c56f3
commit bc592a2c6c
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0

View file

@ -28,7 +28,7 @@ class ReloadService:
head = self._git.get_head()
file_path = Path(f"files/{event.service}")
if not file_path.exists():
raise Exception(f"Service {event.service} not found.")
raise Exception(f"Service {event.service} not found: {file_path.absolute()} does not exist.")
logger.debug(f"Found service files at {file_path}: {', '.join([str(f) for f in list(file_path.iterdir())])}")
mos = list(file_path.glob('*.mo.*'))
logger.debug(f"Found {len(mos)} .mo files")