diff --git a/benchmarks/tracking/run_tracking_benchmarks.py b/benchmarks/tracking/run_tracking_benchmarks.py
index f474dadaccbb16cad8c3a389f849cac6b14cd660..32a8a149f1b8ba7e3dabfb4741d0bcec1aa6059c 100755
--- a/benchmarks/tracking/run_tracking_benchmarks.py
+++ b/benchmarks/tracking/run_tracking_benchmarks.py
@@ -83,7 +83,7 @@ if 'rec' in procs:
     rec_cmd = ['gaudirun.py', os.path.join(sdir, 'options', option_script)]
     return_code = subprocess.run(rec_cmd).returncode
     if return_code is not None and return_code != 0:
-        print('ERROR running juggler ({})!'.format(opt))
+        print('ERROR running juggler ({})!'.format(rec_cmd))
         exit(1)
     process = subprocess.run(['rootls', '-t', rec_file])
 
@@ -96,7 +96,7 @@ if 'ana' in procs:
                '-o', 'results', '-t', args.nametag]
     return_code = subprocess.run(ana_cmd).returncode
     if return_code is not None and return_code != 0:
-        print('ERROR running analysis ({})!'.format(ana))
+        print('ERROR running analysis ({})!'.format(ana_cmd))
         exit(1)