mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Fix typo
This commit is contained in:
parent
be4f2bd6ab
commit
f66eef5271
|
|
@ -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`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user