update_manager: don't raise an exception when restarting moonraker
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
1 parent
5f741c28a5
commit
3b99307109
1 file changed
+4
@@ -710,6 +710,10 @@ class GitUpdater:
|
||||
await self.cmd_helper.run_cmd(
|
||||
f"sudo systemctl restart {self.name}")
|
||||
except Exception:
|
||||
if self.name == "moonraker":
|
||||
# We will always get an error when restarting moonraker
|
||||
# from within the child process, so ignore it
|
||||
return
|
||||
raise self._log_exc("Error restarting service")
|
||||
|
||||
def get_update_status(self):
|
||||
|
||||
Reference in new issue
Block a user