Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 12:11 AM
If you want to fail the notebook then instead of dbutils.notebook.exit simply raise an exception:
if existing_failure > 0:
raise Exception("Exiting due to a previously logged failure.").