Skip to content

Commit

Permalink
missing return after generating http response
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Oshry committed Jun 27, 2016
1 parent 178180f commit 87e0278
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/node-test-server.js
Expand Up @@ -40,7 +40,8 @@ http.createServer(function (req, res) {
if (err) {
console.error('model preparation error: ' + err);
res.writeHead(500, {'Content-Type': 'text/plain'});
res.end(err.message);
res.end(err.message);
return;
}

var interpreter = new scxml.scion.Statechart(fnModel, { sessionid: sessionCounter });
Expand Down

0 comments on commit 87e0278

Please sign in to comment.