From de3d47e948efbf488d4635a46eab41cbb16f9b1f Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Fri, 17 Jun 2022 21:49:45 -0700 Subject: [PATCH] Authenticode.js error handling fix. --- authenticode.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/authenticode.js b/authenticode.js index fcbc3072..cd74e167 100644 --- a/authenticode.js +++ b/authenticode.js @@ -491,6 +491,7 @@ function createAuthenticodeHandler(path) { }); // Post the data + req.on('error', function (err) { func('' + err); }); req.write(requestBody); req.end(); } @@ -1317,6 +1318,7 @@ function createAuthenticodeHandler(path) { }); // Post the data + req.on('error', function (err) { func('' + err); }); req.write(requestBody); req.end(); } @@ -1622,6 +1624,7 @@ function createAuthenticodeHandler(path) { }); // Post the data + req.on('error', function (err) { func('' + err); }); req.write(requestBody); req.end(); }