git ssb

15+

ansuz / dnssb



Commit e86a1ce3277877089b11d6023839316968496725

Improve error handling robustness

cel committed on 3/9/2017, 1:18:28 AM
Parent: 5e9d9cf82c004fea3f2ef0cca33f1af5674e2402

Files changed

lib/server.jschanged
lib/server.jsView
@@ -157,9 +157,9 @@
157157 resolver.answer(req, res);
158158 });
159159
160160 server.on('error', function (msg, error, conn) {
161- console.error(error.stack)
161 + console.error(error ? error.stack : msg)
162162 });
163163
164164 return server.listen(port, host, cb);
165165 };

Built with git-ssb-web