updated service load errors to be warnings
This commit is contained in:
parent
c6d2ca6b02
commit
3443937ff2
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ class ServiceManager(object):
|
|||
# validate dependent executables are present
|
||||
for executable in service.executables:
|
||||
if not which(executable):
|
||||
logger.error("service(%s) missing executable: %s", service.name, executable)
|
||||
logger.warn("service(%s) missing executable: %s", service.name, executable)
|
||||
raise ValueError("service(%s) missing executable: %s" % (service.name, executable))
|
||||
|
||||
# make service available
|
||||
|
@ -187,7 +187,7 @@ class ServiceManager(object):
|
|||
cls.add(service)
|
||||
except ValueError as e:
|
||||
service_errors.append(service.name)
|
||||
logger.error("failure loading service: %s", e.message)
|
||||
logger.warn("not loading service: %s", e.message)
|
||||
return service_errors
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue