forked from osmocom/wireshark
dfilter: Give more context for regex error messages
This commit is contained in:
parent
18abdc3ebc
commit
c4337d0dc5
|
@ -1042,7 +1042,7 @@ check_relation_matches(dfwork_t *dfw, stnode_t *st_node,
|
|||
|
||||
pcre = ws_regex_compile(patt, &errmsg);
|
||||
if (errmsg) {
|
||||
dfilter_fail(dfw, "%s", errmsg);
|
||||
dfilter_fail(dfw, "Regex compilation error: %s.", errmsg);
|
||||
g_free(errmsg);
|
||||
THROW(TypeError);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue