From c4d2452bfa552fc459a7495106374d00e8392c56 Mon Sep 17 00:00:00 2001 From: PhilippMDoerner Date: Sun, 8 Oct 2023 18:51:47 +0200 Subject: [PATCH] Fix try-catch hiding book compilation failures --- owlkettle.nimble | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/owlkettle.nimble b/owlkettle.nimble index 3bd17a03..6e322213 100644 --- a/owlkettle.nimble +++ b/owlkettle.nimble @@ -39,12 +39,9 @@ task genBook, "Generate the owlkettle nimibook book docs": exec "./nbook --mm:refc init" echo "INITIALIZED NIMIBOOK" - try: - exec "./nbook build --mm:refc --define:owlkettleNimiDocs --path:." - echo "BUILT NIMIBOOK" - except CatchableError: - discard + exec "./nbook build --mm:refc --define:owlkettleNimiDocs --path:." + echo "BUILT NIMIBOOK" ## Needed as the nimibook will serve the copied images, while the raw md files ## in the repository will serve the originals - exec "cp -r ./docs/assets ./compiledBook/docs" \ No newline at end of file + exec "cp -r ./docs/assets ./compiledBook/docs"