From d13ea9644f88e48ec4418653dcae1bd53c8f2281 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Mon, 18 Mar 2024 11:17:47 +0200 Subject: [PATCH] fix Signed-off-by: George Lemon --- src/tim.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tim.nim b/src/tim.nim index 74c101b..06f6fc1 100755 --- a/src/tim.nim +++ b/src/tim.nim @@ -373,7 +373,7 @@ proc render*(engine: TimEngine, viewName: string, add result, indent(jitView.getHtml(), layout.getViewIndent) else: jitView.logger.displayErrors() - displayError = true + hasError = true else: raise newException(TimError, "No layouts available") else: