mirror of https://github.com/garrytan/gstack.git
The bare `catch {}` on `fs.openSync(lockPath, 'wx')` silently swallowed
all errors other than EEXIST (permissions, disk full, Bun regressions),
making real fs failures look like phantom lock contention.
Now only EEXIST takes the holder-PID path; everything else logs via
console.error with error code and message before returning null.
Inner catch on holder-PID read gets the same treatment.
Fixes #1084
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| bin | ||
| scripts | ||
| src | ||
| test | ||
| PLAN-snapshot-dropdown-interactive.md | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||