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: