Make starterd print out its own version on failed applications
We already printed out application versions if they had self-reported a
timing report before crashing; however, it is useful to always have
_some_ version information, so include the starterd's own version in the
log message.
Change-Id: Ia75b8a1b2f54bc659d05b05d131acefa6e2aa8ee
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/starter/starter_demo.py b/aos/starter/starter_demo.py
index 89d06a0..12d8775 100755
--- a/aos/starter/starter_demo.py
+++ b/aos/starter/starter_demo.py
@@ -48,5 +48,5 @@
os.makedirs(os.path.dirname(destination), exist_ok=True)
shutil.copy(config, destination)
shutil.copy(config, f"{tmpdir}/aos_config.{suffix}")
- args = [tmpdir + "/starterd"]
+ args = [tmpdir + "/starterd", "--version_string=starter_version"]
subprocess.run(args, check=True, cwd=tmpdir)