From 050f0b355816ddc41681d70b92dc489aca906885 Mon Sep 17 00:00:00 2001 From: Bill Fisher Date: Sat, 20 Jun 2015 16:29:38 -0700 Subject: [PATCH] [ReactNative][easy] fix server 500 response typo Summary: @public corrected small typo in the 500 response from the packager server Test Plan: add throw to promise function prior to error handler, run packager, cache a bundle with bundle extension URI, open /debug/packages, see clean 500 error --- react-packager/src/Server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/Server/index.js b/react-packager/src/Server/index.js index 3e8ca9e8..914075fe 100644 --- a/react-packager/src/Server/index.js +++ b/react-packager/src/Server/index.js @@ -237,7 +237,7 @@ Server.prototype._processDebugRequest = function(reqUrl, res) { }, this)).then( function() { res.end(ret); }, function(e) { - res.wrteHead(500); + res.writeHead(500); res.end('Internal Error'); console.log(e.stack); }