Fix crash log file not found error in spike #12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "probablycorey/fix-crash-log-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use getConfig("dataDir") instead of process.env.DATA_DIR and ensure the directory exists before writing the crash log file. This fixes the ENOENT error that occurred when spike crashed.
The fix aligns with how log.ts already handles its directory setup, using consistent config access patterns and recursive directory creation.
Use getConfig("dataDir") and ensure directory exists before writing crash log, fixing ENOENT error when spike crashes. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>