fix
This commit is contained in:
@@ -440,7 +440,7 @@ def curate_from_reddit(post, original_source, source_name, link, page_url):
|
|||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error curating Reddit post '{post.get('title', 'unknown')}': {e}")
|
logger.error(f"Error curating Reddit post '{getattr(post, 'title', 'unknown')}': {e}")
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
def run_reddit_automator():
|
def run_reddit_automator():
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ def curate_from_rss(entry, original_source, source_name, link, page_url):
|
|||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error curating RSS entry '{entry.get('title', 'unknown')}': {e}")
|
logger.error(f"Error curating RSS entry '{getattr(entry, 'title', 'unknown')}': {e}")
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
def run_rss_automator():
|
def run_rss_automator():
|
||||||
|
|||||||
Reference in New Issue
Block a user