mirror of
https://github.com/langgenius/dify.git
synced 2026-03-29 18:09:57 +08:00
fix start_time -> update_time
This commit is contained in:
@ -50,10 +50,10 @@ def update_api_token_last_used_task(self, token: str, scope: str | None, update_
|
||||
|
||||
return result
|
||||
|
||||
except Exception as exc:
|
||||
# Log the error with full context (logger.exception includes traceback)
|
||||
except Exception:
|
||||
# Log the error with full context (logger.exception includes traceback automatically)
|
||||
logger.exception("Error in update_api_token_last_used_task (token: %s..., scope: %s)", token[:10], scope)
|
||||
|
||||
|
||||
# Raise exception to let Celery handle retry and monitoring
|
||||
# This allows Flower and other monitoring tools to track failures
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user