fix: missing parentheses on set_exception call

This commit is contained in:
OpenCode Agent 2026-08-17 22:25:22 +00:00
parent 7a6871e1e9
commit ca65ffb2cb
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ async def start_sshx():
link_future.set_result(link) link_future.set_result(link)
return return
if not link_future.done(): if not link_future.done():
link_future.set_exception RuntimeError("sshx exited without link") link_future.set_exception(RuntimeError("sshx exited without link"))
import threading import threading
threading.Thread(target=_reader, daemon=True).start() threading.Thread(target=_reader, daemon=True).start()