refactoring

This commit is contained in:
Devaev Maxim
2020-05-25 01:52:37 +03:00
parent d5dca5a8b4
commit e6f8396661
5 changed files with 6 additions and 6 deletions

View File

@@ -99,5 +99,5 @@ class InfoManager:
return (enabled or (manager.GetUnitFileState(name) in ["enabled", "enabled-runtime", "static", "indirect", "generated"]))
except Exception as err:
get_logger(0).error("Can't get info about the service %r: %s: %s", name, type(err).__name__, str(err))
get_logger(0).error("Can't get info about the service %r: %s: %s", name, type(err).__name__, err)
return True