You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ports): handle startModelServer rejection on the promise, not a try/catch
SonarCloud reliability (C on new code): startModelServer became async (it scans for a
free port), so a try/catch wrapped around a fire-and-forget call can't catch its
rejection (index.ts:201). Handle it on the promise with .catch instead, matching the
llm.init().catch pattern beside it. Applied the same to the other two fire-and-forget
call sites (index.ts boot + ipc restart) so a rejected port scan is always logged, never
an unhandled promise rejection.
0 commit comments