File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ struct BotBaseMessage{
4040 if (type != MessageType){
4141 throw SerialProtocolException (
4242 logger, PA_CURRENT_FUNCTION,
43- " Received incorrect response type: " + std::to_string (type)
43+ " Received Incorrect Response Type: Expected = " + std::to_string (MessageType) + " , Actual = " + std::to_string (type)
4444 );
4545 }
4646 if (body.size () != sizeof (MessageBody)){
4747 throw SerialProtocolException (
4848 logger, PA_CURRENT_FUNCTION,
49- " Received incorrect response size: " + std::to_string (body.size ())
49+ " Received Incorrect Response Size: Expected = " + std::to_string ( sizeof (MessageBody)) + " , Actual = " + std::to_string (body.size ())
5050 );
5151 }
5252 memcpy (¶ms, body.c_str (), body.size ());
You can’t perform that action at this time.
0 commit comments