call back logs

This commit is contained in:
2025-11-01 19:03:30 +01:00
parent 9fce617949
commit 57c30a0156
4 changed files with 942 additions and 14 deletions

View File

@@ -326,7 +326,14 @@ class SeriesApp:
# (dict with detailed progress info)
if callback:
logger.debug(f"Calling progress callback: {web_progress_dict}")
callback(web_progress_dict)
try:
callback(web_progress_dict)
logger.debug("Progress callback executed successfully")
except Exception as e:
logger.error(
f"Error in progress callback: {e}",
exc_info=True
)
# Propagate progress into the legacy callback chain so
# existing UI surfaces continue to receive updates without