0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::server: Improve error message.

This commit is contained in:
Jason Volk 2020-06-04 18:11:25 -07:00
parent 0d30c08c9f
commit 758ff8c4b7

View file

@ -4025,9 +4025,10 @@ const
if(unlikely(empty(buffer)))
throw buffer_overrun
{
"Chunk dynamic content buffer too small size:%zu content_read:%zu chunk_remaining:%zu",
"Chunk dynamic content buffer too small content[size:%zu read:%zu] chunk[size:%zu remain:%zu]",
size(content),
state.content_read,
state.chunk_length,
chunk_remaining,
};