Skip to content

Commit 8a1c94a

Browse files
author
Brandon Kiefer
authored
Merge pull request #3 from frontapp/patch-for-node-14
Add rejection to `'aborted'` http hook
2 parents 819e8cb + 9a44c26 commit 8a1c94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/steps/sendProxyRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ function sendProxyRequest(Container) {
7171
}
7272

7373
req.on('aborted', function() {
74-
// reject?
7574
proxyReq.abort();
75+
reject();
7676
});
7777
});
7878
}

0 commit comments

Comments
 (0)