1. Magnus Hoff
  2. resource-tree

Commits

Magnus Hoff  committed 74016ba

typo

  • Participants
  • Parent commits ff807ff
  • Branches default

Comments (0)

Files changed (1)

File example-crud.js

View file
 
 function generate500(res, msg) {
 	res.writeHead(500, {"Content-Type": "text/plain;charset=utf-8"});
-	res.end("Internal Server Error: " + err);
+	res.end("Internal Server Error: " + msg);
 }
 
 ListResource.prototype.http_POST = function (req, res) {