AI Error handling; Fix logging
This commit is contained in:
parent
8f01db9643
commit
28f28eb0ce
4 changed files with 66 additions and 43 deletions
|
|
@ -129,7 +129,7 @@ const changePersonality = (
|
|||
const log = (logMessage: string) => {
|
||||
appendFileSync(
|
||||
config.logPath,
|
||||
`[${new Date().toLocaleString()}] ${logMessage}`,
|
||||
`[${new Date().toLocaleString()}] ${logMessage}\n`,
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue