Skip to content
Browse files

log exceptions to start to console as well

  • Loading branch information...
1 parent cd43a9a commit 277633675b52430109b0e1b51223b17e602da52f @mnot committed Dec 8, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/server.js
View
1 lib/server.js
@@ -45,6 +45,7 @@ function req_done(request, response, htracr) {
} catch (e) {
response.writeHead(500, {'content-type': 'text/plain'})
response.end(e.description)
+ console.log("Problem starting capture: " + e)
return
}
response.writeHead(200, {'content-type': 'text/plain'})

0 comments on commit 2776336

Please sign in to comment.
Something went wrong with that request. Please try again.