Skip to content

Commit caa90fe

Browse files
committed
remove flush from logging call
1 parent 29b3f60 commit caa90fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/rag_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def answer_query_stream(self, query):
195195
yield "An error occurred while generating the response."
196196
except (BrokenPipeError, OSError):
197197
# Client disconnected, can't send error message
198-
logging.warning("Client disconnected before error message could be sent", flush=True)
198+
logging.warning("Client disconnected before error message could be sent")
199199

200200
def clear_conversation_history(self):
201201
self.conversation_history = []

0 commit comments

Comments
 (0)