diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 81b47fcd26..dba4ba2b9f 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -1833,7 +1833,7 @@ async def chat_completion( finally: raise # re-raise to ensure proper task cancellation handling except Exception as e: - log.exception('Error processing chat payload: %s', e) + log.error('Error processing chat payload: %s', e) if metadata.get('chat_id') and metadata.get('message_id'): # Update the chat message with the error try: