mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-09 17:55:37 -05:00
Fix typo
This commit is contained in:
@@ -58,7 +58,7 @@ export function crashlogger(
|
||||
console.error(`\n[${Date.now()}] CRASH: ${stack}\n`);
|
||||
const out = fs.createWriteStream(logPath, { flags: 'a' });
|
||||
out.on('open', () => {
|
||||
out.write(`\n${stack}\n`);
|
||||
out.write(`\n[${Date.now()}] ${stack}\n`);
|
||||
out.end();
|
||||
}).on('error', (err: Error) => {
|
||||
console.error(`\nSUBCRASH: ${err.stack}\n`);
|
||||
|
||||
Reference in New Issue
Block a user