replacing .error with .exception in common exception

This commit is contained in:
ali
2025-10-14 12:08:55 +05:30
committed by ali
parent 6867e0381a
commit 241274bd8b

View File

@@ -428,7 +428,7 @@ class WorkerDestinationConnector:
except Exception as e:
# If Redis fails or other unexpected error, log but allow processing to continue
# This ensures graceful degradation if tracking system is unavailable
logger.error(
logger.exception(
f"Failed to check/acquire destination lock for file '{file_ctx.file_name}': {str(e)}. "
f"Allowing processing to continue (graceful degradation)."
)