mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
commit
fb7686f860
@ -85,7 +85,7 @@ async function bootstrap() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
process.on('uncaughtException', (error) => {
|
process.on('uncaughtException', (error) => {
|
||||||
if (error.stack.toLowerCase().includes('smtp'))
|
if (error.stack?.toLowerCase().includes('smtp'))
|
||||||
app.get(LoggerService).error('SMTP error', error.stack);
|
app.get(LoggerService).error('SMTP error', error.stack);
|
||||||
else throw error;
|
else throw error;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user