Fix NIXL exception message (#14172)

This commit is contained in:
Kartik Ramesh
2025-12-01 20:39:45 -06:00
committed by GitHub
parent cd4151abc7
commit 11ce05163d

View File

@@ -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):