Authenticode.js error handling fix.

This commit is contained in:
Ylian Saint-Hilaire 2022-06-17 21:49:45 -07:00
parent 4887b7612b
commit de3d47e948

View File

@ -491,6 +491,7 @@ function createAuthenticodeHandler(path) {
}); });
// Post the data // Post the data
req.on('error', function (err) { func('' + err); });
req.write(requestBody); req.write(requestBody);
req.end(); req.end();
} }
@ -1317,6 +1318,7 @@ function createAuthenticodeHandler(path) {
}); });
// Post the data // Post the data
req.on('error', function (err) { func('' + err); });
req.write(requestBody); req.write(requestBody);
req.end(); req.end();
} }
@ -1622,6 +1624,7 @@ function createAuthenticodeHandler(path) {
}); });
// Post the data // Post the data
req.on('error', function (err) { func('' + err); });
req.write(requestBody); req.write(requestBody);
req.end(); req.end();
} }