2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-02 15:36:05 +00:00

Wrap up SOL exception more neatly

This commit is contained in:
Jarrod Johnson
2026-08-19 13:46:44 -04:00
parent 3463bd24c1
commit cf14bda3b7
@@ -367,7 +367,10 @@ class IpmiConsole(conapi.Console):
password=self.password,
kg=self.kg, force=True,
iohandler=self.handle_data)
await self.solconnection.connect()
try:
await self.solconnection.connect()
except pygexc.IpmiException as e:
raise exc.TargetEndpointUnreachable(str(e))
if (self.broken or not self.solconnection or
self.solconnection.broken or
self.solconnection.ipmi_session.broken):