diff --git a/http_link.js b/http_link.js index 77134df..881b7f1 100644 --- a/http_link.js +++ b/http_link.js @@ -183,6 +183,7 @@ http.createServer(function (req, res) { if( name == undefined || value == undefined ) { sys.puts("name and value not defined."); res.end("500"); + return; } // TODO wrap this in a try/catch type block