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: gracefully handle unwritable logs directory
The logger was unconditionally creating a logs/ directory at process.cwd()
during module load. When used as a library (e.g., in an MCP server launched
by Claude Desktop), cwd may be / or another unwritable location, causing
ENOENT crashes.
Now wraps directory creation in try/catch and skips file transports if the
directory can't be created. Also supports LOG_DIR env var to override the
log directory location.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>