mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:42:32 +03:00
Filtered out exception that can get thrown when JS attempts to restart self, which is normal, because the exception says the process is shutting down. Only happens on macOS
This commit is contained in:
parent
81e18fac59
commit
675996ccf2
@ -720,10 +720,13 @@ function agentUpdate_Start(updateurl, updateoptions) {
|
||||
s.restart();
|
||||
}
|
||||
catch (zz)
|
||||
{
|
||||
if (zz.toString() != 'waitExit() aborted because thread is exiting')
|
||||
{
|
||||
sendConsoleText('Self Update encountered an error trying to restart service', sessionid);
|
||||
sendAgentMessage('Self Update encountered an error trying to restart service', 3);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user