mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
logs route profile mode: don't barf bytes if the buffer is not empty
This commit is contained in:
parent
02dcaf07db
commit
661baa716b
1 changed files with 4 additions and 0 deletions
|
@ -186,6 +186,10 @@ fn entry_stream(
|
|||
};
|
||||
|
||||
if count == 0 {
|
||||
if !bytes.is_empty() {
|
||||
break;
|
||||
}
|
||||
|
||||
// channel closed, exit
|
||||
return None;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue