qa/tasks/daemonwatchdog: fix unbound variable in bark_reason message

Introduced in commit 783f0e3a99 ("qa: Adding a new class for the
daemonwatchdog to monitor").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Ilya Dryomov 2026-01-30 17:17:52 +01:00
parent 5ccdd6ad16
commit b4c0377d44

View File

@ -153,7 +153,7 @@ class DaemonWatchdog(Greenlet):
for thrasher in self.thrashers:
if thrasher.exception is not None:
self.log("{name} failed".format(name=thrasher.name))
bark_reason = f"Thrasher {name} threw exception {thrasher.exception}"
bark_reason = f"Thrasher {thrasher.name} threw exception {thrasher.exception}"
bark = True
for proc in self.watched_processes: