tweak to session.exception to default node_id to None when not provided

This commit is contained in:
Blake Harnden 2020-03-31 16:39:27 -07:00
parent 3165bddc92
commit 091131fe5c
4 changed files with 6 additions and 6 deletions

View file

@ -630,8 +630,8 @@ class CoreServices:
self.session.exception(
ExceptionLevels.ERROR,
"services",
node.id,
f"error stopping service {service.name}: {e.stderr}",
node.id,
)
logging.exception("error running stop command %s", args)
status = -1