improve error message in request data programs
This commit is contained in:
parent
e1164c87c9
commit
0a0403988c
@ -148,7 +148,7 @@ main(int argc, char **argv)
|
||||
|
||||
if (mbus_frame_data_parse(&reply, &reply_data) == -1)
|
||||
{
|
||||
fprintf(stderr, "M-bus data parse error.\n");
|
||||
fprintf(stderr, "M-bus data parse error: %s\n", mbus_error_str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -136,7 +136,7 @@ main(int argc, char **argv)
|
||||
|
||||
if (mbus_frame_data_parse(&reply, &reply_data) == -1)
|
||||
{
|
||||
fprintf(stderr, "M-bus data parse error.\n");
|
||||
fprintf(stderr, "M-bus data parse error: %s\n", mbus_error_str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user