mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Assign local variable for easier debugging
This commit is contained in:
@@ -184,7 +184,8 @@ class StreamingEnvelopeParser:
|
||||
should_be_empty = io.BytesIO()
|
||||
self.remainder, self.at_eof = readuntil(
|
||||
self.input_stream, self.remainder, NewlineFinder(), should_be_empty, self.chunk_size)
|
||||
if should_be_empty.getvalue() != b"":
|
||||
should_be_empty_value = should_be_empty.getvalue()
|
||||
if should_be_empty_value != b"":
|
||||
raise ParseError("Item with explicit length not terminated by newline/EOF")
|
||||
|
||||
yield item_headers, item_output_stream
|
||||
|
||||
Reference in New Issue
Block a user