From a15ffbd405cb77e79a69e42eddaf509d33b4163d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Sun, 17 Mar 2024 11:42:04 +0100 Subject: [PATCH] don't crash when missing log (#32) --- 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 -%}