Skip to content

Commit

Permalink
Log times in crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Jul 20, 2024
1 parent 9f5b6ab commit 650b379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export class Server {
}
try {
const {crashlogger} = require(Config.pspath);
crashlogger(error, source, details, Config.crashguardemail);
crashlogger(error, source, {...details, date: new Date().toISOString()}, Config.crashguardemail);
} catch (e) {
// don't have data/pokemon-showdown built? something else went wrong? oh well
console.log('CRASH', error);
Expand Down

0 comments on commit 650b379

Please sign in to comment.