mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Authenticode.js error handling fix.
This commit is contained in:
parent
4887b7612b
commit
de3d47e948
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue