diff --git a/src/clayde/webhook/skills.py b/src/clayde/webhook/skills.py index bec35d7..780460a 100644 --- a/src/clayde/webhook/skills.py +++ b/src/clayde/webhook/skills.py @@ -108,7 +108,7 @@ def discover_skills(root: Path = SKILLS_ROOT) -> list[Skill]: for path in files: try: skill = _parse_skill(path) - except (ValueError, OSError) as e: + except Exception as e: log.warning("Failed to parse skill %s: %s", path, e) continue if skill.name in seen: diff --git a/src/clayde/webhook/worker.py b/src/clayde/webhook/worker.py index 3bb577e..d9e79e6 100644 --- a/src/clayde/webhook/worker.py +++ b/src/clayde/webhook/worker.py @@ -138,5 +138,4 @@ async def worker_loop(queue: JobQueue, *, timeout_s: int, kb_path: str) -> None: try: await process_job(job, timeout_s=timeout_s, kb_path=kb_path) except Exception: - # process_job already emitted a notification + logged. - pass + log.exception("[%s] unhandled error in process_job", job.id)