Browse files

don't abort after an error

  • Loading branch information...
1 parent 7ca417e commit cc7145472e742ed8f60debb809a13b38f940ca7c @aredridel committed Aug 23, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/smtpd
View
3 bin/smtpd
@@ -40,6 +40,9 @@ var server = smtp.createServer(function(conn) {
console.log('EOT');
})
})
+ conn.on('error', function(error) {
+ console.error(error)
+ })
})
server.hostname = 'testserver'

0 comments on commit cc71454

Please sign in to comment.