AI Error handling; Fix logging

This commit is contained in:
Aslan 2026-01-08 18:19:46 -05:00
parent 8f01db9643
commit 28f28eb0ce
4 changed files with 66 additions and 43 deletions

View file

@ -129,7 +129,7 @@ const changePersonality = (
const log = (logMessage: string) => {
appendFileSync(
config.logPath,
`[${new Date().toLocaleString()}] ${logMessage}`,
`[${new Date().toLocaleString()}] ${logMessage}\n`,
);
};