diff --git a/xactfetch.py b/xactfetch.py index 106bfe2..b270fdd 100644 --- a/xactfetch.py +++ b/xactfetch.py @@ -288,6 +288,8 @@ class ntfyerror: log.exception( 'Swallowed exception:', exc_info=(exc_type, exc_value, tb) ) + if os.environ.get('DEBUG_NTFY', '1') == '0': + return True if ss := self.page.screenshot(): save_screenshot(ss) ntfy(