diff --git a/source/app.d b/source/app.d index a4666eb2..57968bf1 100644 --- a/source/app.d +++ b/source/app.d @@ -83,7 +83,8 @@ private void doSanityCheck(ContentProvider contentProvider, IExecProvider execPr section.language, section.title); auto result = execProvider.compileAndExecute(section.sourceCode); enforce(result.success, - "[%s] Sanity check: Source code for section '%s' doesn't compile!".format(section.language, section.title)); + "[%s] Sanity check: Source code for section '%s' doesn't compile:\n%s" + .format(section.language, section.title, result.output)); } }