leoncvlt / loconotion

📄 Python tool to turn Notion.so pages into lightweight, customizable static websites
833 stars 131 forks source link

Non-zero exit code on error #94

Closed 2m closed 2 years ago

2m commented 2 years ago

This changes all critical errors to raise exceptions. This allows to have a single critical error handler that sets exit code to non-zero.

This way loconotion can be better used in automation jobs, where loconotion failure should stop subsequent tasks.