Skip to content

Commit 16d1a31

Browse files
committed
debug proxy
1 parent 0c4948c commit 16d1a31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/proxy.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,9 @@ exports.proxy = function(req, res, options, buffer){
267267
});
268268

269269
if(!req){
270-
console.error("There is a proxy error");
270+
console.error("proxyError");
271+
proxyError();
272+
return;
271273
}
272274

273275
var errState = false;

0 commit comments

Comments
 (0)