From df3eb4f04982de6a32f4957bf4b7277b938a65c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sun, 17 Mar 2024 11:41:47 +0100 Subject: [PATCH] don't crash when missing log --- templates/macros.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/macros.html b/templates/macros.html index d0fcd09..496eb8d 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -17,6 +17,7 @@ {% endif -%} {% elif run.results[example_name][platform] == "Failures" -%} {% if run.logs[example_name] -%} +{% if run.logs[example_name][platform] -%}
@@ -24,6 +25,9 @@ {% else -%} {% endif -%} +{% else -%} + +{% endif -%} {% elif run.results[example_name][platform] == "NoScreenshots" -%} {% endif -%}