Violation
try {
await this.serverManager.ensureServerRunning();
} catch {
// Restart failed — continue retrying anyway
}
Location
sdks/typescript/pmxt/client.ts:433
Why It Matters
If ensureServerRunning() throws during a retry loop, the error is silently discarded. There is no log, so there is no way to know whether the server failed to start, threw a permission error, crashed with an uncaught exception, or ran out of resources. A developer debugging a "client never connects" issue has no trail to follow.
Suggested Fix
} catch (err) {
logger.warn('PmxtClient: server restart failed during retry', { attempt, error: String(err) });
}
Found by automated code hygiene audit
Violation
Location
sdks/typescript/pmxt/client.ts:433Why It Matters
If
ensureServerRunning()throws during a retry loop, the error is silently discarded. There is no log, so there is no way to know whether the server failed to start, threw a permission error, crashed with an uncaught exception, or ran out of resources. A developer debugging a "client never connects" issue has no trail to follow.Suggested Fix
Found by automated code hygiene audit