Shane 7 months ago
parent 2158c780ca
commit 3405572ab0
  1. 4
      foodie_automator_rss.py

@ -451,6 +451,10 @@ def curate_from_rss():
print("No interesting RSS article found after attempts") print("No interesting RSS article found after attempts")
logging.info("No interesting RSS article found after attempts") logging.info("No interesting RSS article found after attempts")
return None, None, random.randint(600, 1800) return None, None, random.randint(600, 1800)
except Exception as e:
logging.error(f"Unexpected error in curate_from_rss: {e}", exc_info=True)
print(f"Unexpected error in curate_from_rss: {e}")
return None, None, random.randint(600, 1800)
def run_rss_automator(): def run_rss_automator():
lock_fd = None lock_fd = None

Loading…
Cancel
Save