Skip to content

Commit 508bb7f

Browse files
committedNov 5, 2017
fix(benchmark): don't log undefined
1 parent 941a431 commit 508bb7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎benchmark/proxy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ require('http').createServer(function (req, res) {
33
proxy.web(req, res, {
44
hostname: 'localhost',
55
port: 9000
6-
}, err => console.error(err))
6+
}, err => err && console.error(err))
77
}).listen(8000)

0 commit comments

Comments
 (0)