mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Improved some websocket error handling.
This commit is contained in:
@@ -729,7 +729,7 @@ function AmtStackCreateService(wsmanStack) {
|
||||
e = null;
|
||||
try {
|
||||
es = atob(responses.Body['EventRecords'][i]);
|
||||
e = new Buffer(es);
|
||||
e = Buffer.from(es);
|
||||
} catch (ex) {
|
||||
console.log(ex + " " + responses.Body['EventRecords'][i])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user