Commit 139e226a authored by Ilya Yurchenko's avatar Ilya Yurchenko

Fix the tunnel-agent bug

parent 1810f32d
......@@ -136,6 +136,11 @@ async function main() {
pseudoThreads = parseInt(process.argv[ 5 ]);
}
process.on('uncaughtException', function() {
// Do nothing
// see issue: https://github.com/request/tunnel-agent/issues/43
});
if ( !fs.existsSync(srcFile) ) {
console.log(`${srcFile} not exist`);
process.exit(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment