We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81bb977 + 23536b5 commit 12a487bCopy full SHA for 12a487b
bouncer.js
@@ -52,6 +52,11 @@ process.on('SIGHUP',function() {
52
BOUNCER_ADMIN=config.bouncerAdmin?config.bouncerAdmin:'';
53
});
54
55
+// Prevent BNC from crashing for all other users when an error is caused by a user (with log error)
56
+process.on('uncaughtException', (err, origin) => {
57
+ console.error(`# Serious problem (${origin}) - this should not happen but the JBNC is still running. ${err.stack}`);
58
+});
59
+
60
61
// Track IRC (Server) Connections
62
var connections={};
0 commit comments