Skip to content

Commit

Permalink
pv: more details in err log message for s.select parsing
Browse files Browse the repository at this point in the history
(cherry picked from commit 02ad9e1)
  • Loading branch information
miconda committed May 26, 2021
1 parent 10c497f commit 2273d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/pv/pv_trans.c
Expand Up @@ -2734,8 +2734,8 @@ char* tr_parse_string(str* in, trans_t *t)
while(*p && (*p==' ' || *p=='\t' || *p=='\n')) p++;
if(*p!=TR_RBRACKET)
{
LM_ERR("invalid select transformation: %.*s!!\n",
in->len, in->s);
LM_ERR("invalid select transformation: %.*s (c:%c/%d - p:%d)!!\n",
in->len, in->s, *p, *p, (int)(p - in->s));
goto error;
}
goto done;
Expand Down

0 comments on commit 2273d7d

Please sign in to comment.