fix: Just another verbosity improvement
This commit is contained in:
parent
64726c56f3
commit
bc592a2c6c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class ReloadService:
|
||||||
head = self._git.get_head()
|
head = self._git.get_head()
|
||||||
file_path = Path(f"files/{event.service}")
|
file_path = Path(f"files/{event.service}")
|
||||||
if not file_path.exists():
|
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())])}")
|
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.*'))
|
mos = list(file_path.glob('*.mo.*'))
|
||||||
logger.debug(f"Found {len(mos)} .mo files")
|
logger.debug(f"Found {len(mos)} .mo files")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue