call back logs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user