better debug output

FossilOrigin-Name: 4ef0eee272d67609424074d4a8ec7f7a39e7bc211088154e6a67b81a3000c88e
This commit is contained in:
7u83@mail.ru 2016-04-11 01:25:40 +00:00
parent 3378b4bc84
commit f09a346382
1 changed files with 2 additions and 1 deletions

View File

@ -69,10 +69,11 @@ int cw_out_generic(struct conn *conn, struct cw_action_out *a, uint8_t * dst) //
}
if (a->mand) {
cw_log(LOG_ERR,
"Can't put mandatory element %s%d - (%s) into %s. No value found.",
"Can't put mandatory element %s %d - (%s) into %s. No value for '%s' found.",
vendor,
a->elem_id, cw_strelemp(conn->actions, a->elem_id)
, cw_strmsg(a->msg_id)
, a->item_id
);
}
else{