Add traceback logging for error handling in README rebuild

This commit is contained in:
2026-02-27 23:11:07 +00:00
parent b7f60d75e7
commit 6cd314ded2

View File

@@ -1,5 +1,6 @@
import os
import requests
import traceback
import datetime
# --- Configuration ---
@@ -124,6 +125,7 @@ def main():
print("README.md rebuilt successfully.")
except Exception as e:
print(f"Error: {e}")
traceback.print_exc()
if __name__ == "__main__":
main()