Browse Source

Error handling

Nathaniel van Diepen 11 years ago
parent
commit
354be967ee
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/OmnomIRC.js

+ 3 - 0
app/OmnomIRC.js

@@ -140,4 +140,7 @@ io.sockets.on('connection',function(socket){
 				});
 			}
 		};
+});
+process.on('uncaughtException',function(e){
+	logger.error(e);
 });