Fix NIXL exception message (#14172)

This commit is contained in:
Kartik Ramesh
2025-12-02 10:39:45 +08:00
committed by GitHub
parent cd4151abc7
commit 11ce05163d
@@ -731,7 +731,7 @@ class NixlKVSender(CommonKVSender):
return KVPoll.WaitingForInput # type: ignore return KVPoll.WaitingForInput # type: ignore
def failure_exception(self): def failure_exception(self):
raise Exception("Fake KVSender Exception") raise RuntimeError("NIXL KVSender Exception")
class NixlKVReceiver(CommonKVReceiver): class NixlKVReceiver(CommonKVReceiver):
@@ -860,7 +860,7 @@ class NixlKVReceiver(CommonKVReceiver):
) )
def failure_exception(self): def failure_exception(self):
raise Exception("Fake KVReceiver Exception") raise RuntimeError("NIXL KVReceiver Exception")
class NixlKVBootstrapServer(CommonKVBootstrapServer): class NixlKVBootstrapServer(CommonKVBootstrapServer):