From d2c5deaa517e875b856992f375f5631e8f31ecda Mon Sep 17 00:00:00 2001 From: Tet-9 Date: Mon, 5 Oct 2026 09:06:45 +0100 Subject: [PATCH] Suppress exception chaining when refusing to run on unverified sources --- evaluator/bot_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluator/bot_engine.py b/evaluator/bot_engine.py index 5973ab5..b9e3d30 100644 --- a/evaluator/bot_engine.py +++ b/evaluator/bot_engine.py @@ -413,7 +413,7 @@ def build_engine(args) -> BotEngine: lock = require_pinned(root / "configs/sources.lock.json", source.parent, track=cfg["track"], cache=workdir / "sources-verified.json") except SourcesError as exc: - raise SystemExit(f"refusing to run: {exc}") + raise SystemExit(f"refusing to run: {exc}") from None if source_gguf(lock, source.parent).resolve() != source.resolve(): raise SystemExit("EXCORE_SOURCE_GGUF is not the file pinned in configs/sources.lock.json") sandbox = Sandbox(SandboxPolicy(timeout_s=float(cfg["limits"]["build_timeout_s"]) * 2,