From 11ce05163d6b39726f6d1899b419e9c0364781d6 Mon Sep 17 00:00:00 2001 From: Kartik Ramesh Date: Mon, 1 Dec 2025 20:39:45 -0600 Subject: [PATCH] Fix NIXL exception message (#14172) --- python/sglang/srt/disaggregation/nixl/conn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sglang/srt/disaggregation/nixl/conn.py b/python/sglang/srt/disaggregation/nixl/conn.py index 622bfc03f..c58c4cabe 100644 --- a/python/sglang/srt/disaggregation/nixl/conn.py +++ b/python/sglang/srt/disaggregation/nixl/conn.py @@ -731,7 +731,7 @@ class NixlKVSender(CommonKVSender): return KVPoll.WaitingForInput # type: ignore def failure_exception(self): - raise Exception("Fake KVSender Exception") + raise RuntimeError("NIXL KVSender Exception") class NixlKVReceiver(CommonKVReceiver): @@ -860,7 +860,7 @@ class NixlKVReceiver(CommonKVReceiver): ) def failure_exception(self): - raise Exception("Fake KVReceiver Exception") + raise RuntimeError("NIXL KVReceiver Exception") class NixlKVBootstrapServer(CommonKVBootstrapServer):