We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fccb05 commit 08a0984Copy full SHA for 08a0984
src/util/piped_process.cpp
@@ -378,7 +378,10 @@ piped_processt::send_responset piped_processt::send(const std::string &message)
378
}
379
INVARIANT(
380
message_size == bytes_written,
381
- "Number of bytes written to sub process must match message size.");
+ "Number of bytes written to sub process must match message size."
382
+ "Message size is " +
383
+ std::to_string(message_size) + " but " + std::to_string(bytes_written) +
384
+ " bytes were written.");
385
#else
386
// send message to solver process
387
int send_status = fputs(message.c_str(), command_stream);
0 commit comments