refs #932 prevent python from dying on windows

ogadmclient-status 1.4.2
Natalia Serrano 2024-10-15 16:39:22 +02:00
parent fcf9c5b2ba
commit bf099333b5
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class OpenGnSysWorker(ServerWorker):
if os.path.isfile(new_hosts_file):
shutil.copyfile(new_hosts_file, hosts_file)
logger.info ('onActivation ok')
logger.debug ('onActivation ok')
def onDeactivation(self):
"""

View File

@ -158,7 +158,7 @@ class CommonService(object):
validMods.append(mod)
except Exception as e:
logger.exception()
logger.error("Activation of {} failed: {}".format(mod.name, exceptionToMessage(e)))
logger.debug("Activation of {} failed: {}".format(mod.name, exceptionToMessage(e)))
self.modules[:] = validMods # copy instead of assignment