keep names consistent

This commit is contained in:
onyx-and-iris 2025-06-13 14:30:50 +01:00
parent c369f4e3d5
commit 23d3118e6a

View File

@ -61,9 +61,9 @@ async def list(ctx: click.Context, id: bool = False):
tg.start_soon(conn.background_processing)
tg.start_soon(_run)
except* ProtocolError as excgroup:
raisable = next(iter(excgroup.exceptions))
e = SlobsCliProtocolError(str(raisable))
raise e
p_error = next(iter(excgroup.exceptions))
raisable = SlobsCliProtocolError(str(p_error))
raise raisable
@scene.command()
@ -87,9 +87,9 @@ async def current(ctx: click.Context, id: bool = False):
tg.start_soon(conn.background_processing)
tg.start_soon(_run)
except* ProtocolError as excgroup:
raisable = next(iter(excgroup.exceptions))
e = SlobsCliProtocolError(str(raisable))
raise e
p_error = next(iter(excgroup.exceptions))
raisable = SlobsCliProtocolError(str(p_error))
raise raisable
@scene.command()