Skip to content

Commit

Permalink
fixed error message in iostream
Browse files Browse the repository at this point in the history
  • Loading branch information
daftshady committed Oct 26, 2014
1 parent e1b306c commit 09e7e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/iostream.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def write(self, data, callback=None):
if data:
if (self.max_write_buffer_size is not None and
self._write_buffer_size + len(data) > self.max_write_buffer_size):
raise StreamBufferFullError("Reached maximum read buffer size")
raise StreamBufferFullError("Reached maximum write buffer size")
# Break up large contiguous strings before inserting them in the
# write buffer, so we don't have to recopy the entire thing
# as we slice off pieces to send to the socket.
Expand Down

0 comments on commit 09e7e2d

Please sign in to comment.