fix: resolve lint and typecheck issues
This commit is contained in:
@@ -85,7 +85,7 @@ app.whenReady().then(async () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Ignore
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ process.on('uncaughtException', async (err) => {
|
||||
setTimeout(() => process.exit(1), 1000)
|
||||
})
|
||||
|
||||
process.on('unhandledRejection', async (reason, promise) => {
|
||||
process.on('unhandledRejection', async (reason) => {
|
||||
logger.error('Unhandled Rejection', { reason: String(reason) })
|
||||
await logAudit('SYSTEM_ERROR', 'system', {
|
||||
username: 'system',
|
||||
|
||||
Reference in New Issue
Block a user