updated
This commit is contained in:
@@ -3335,10 +3335,16 @@ def sync_feeds(args):
|
|||||||
|
|
||||||
browser.close()
|
browser.close()
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
logging.error(f"❌ Failed to post tweet to Bluesky: {e}")
|
||||||
|
|
||||||
|
browser.close()
|
||||||
|
|
||||||
logging.info(f"✅ Sync complete. Posted {new_posts} new updates.")
|
logging.info(f"✅ Sync complete. Posted {new_posts} new updates.")
|
||||||
|
|
||||||
except Exception as e:
|
# 👇 This except block must be indented 4 spaces to match the try block at the top of sync_feeds!
|
||||||
logging.error(f"❌ Error during sync cycle: {e}")
|
except Exception as e:
|
||||||
|
logging.error(f"❌ Error during sync cycle: {e}")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user