Skip to content

Commit

Permalink
version 0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
dgofman committed Mar 7, 2017
1 parent ee763e0 commit ed98084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Expand Up @@ -120,6 +120,9 @@ function proxy(opts, req, res, responseIntercept) {
error.toString = function() {
return JSON.stringify(error, null, 2);
};
var res = new http.IncomingMessage(req.socket);
res.statusCode = 500;
res.statusMessage = 'ERROR';
callback(error, null, req, res);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "proxy-orchestrator",
"version": "0.0.17",
"version": "0.0.18",
"description": "Simple proxy library",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ed98084

Please sign in to comment.