git ssb

15+

ansuz / dnssb



Commit 430b4b944d959f47fae9cef307325a7f4c497947

Log server errors

cel committed on 11/5/2016, 5:07:22 PM
Parent: 07c65eb6badf7eed11d56d8791156f8e161528ec

Files changed

lib/server.jschanged
lib/server.jsView
@@ -47,8 +47,12 @@
4747 var server = Dnsd.createServer(function(req, res) {
4848 answer(sbot, req, res, opt);
4949 });
5050
51 + server.on('error', function (msg, error, conn) {
52 + console.error(error.stack)
53 + });
54 +
5155 return server.listen(port, host, cb);
5256 };
5357
5458 Server.listen = function (sbot, port, host, cb, opt) {

Built with git-ssb-web