Skip to content

Commit a0cf44f

Browse files
committed
Handle other exceptions in makeSiteWithExceptionHandling()
1 parent 3a20eb2 commit a0cf44f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

alteza/engine.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,9 @@ def makeSiteWithExceptionHandling(self) -> None:
478478
try:
479479
self.makeSite()
480480
except (AltezaException, PypageError) as e:
481+
logging.exception(e)
482+
print("\nSite build failed due to Alteza or Pypape error.")
483+
except Exception as e:
481484
logging.exception(e)
482485
print("\nSite build failed.")
483486

0 commit comments

Comments
 (0)