Improve (?) error message

parent 1549f2a6
...@@ -345,7 +345,7 @@ vmod_regex_match(VRT_CTX, struct vmod_re_regex *re, VCL_STRING subject, ...@@ -345,7 +345,7 @@ vmod_regex_match(VRT_CTX, struct vmod_re_regex *re, VCL_STRING subject,
task = VRT_priv_task(ctx, re); task = VRT_priv_task(ctx, re);
if (task == NULL) { if (task == NULL) {
errmsg(ctx, "vmod re: no priv - out of workspace?"); errmsg(ctx, "vmod re: Could not get a PRIV_TASK - out of workspace?");
return (0); return (0);
} }
...@@ -522,7 +522,7 @@ vmod_regex_match_body(VRT_CTX, struct vmod_re_regex *re, VCL_ENUM which, ...@@ -522,7 +522,7 @@ vmod_regex_match_body(VRT_CTX, struct vmod_re_regex *re, VCL_ENUM which,
task = VRT_priv_task(ctx, re); task = VRT_priv_task(ctx, re);
if (task == NULL) { if (task == NULL) {
errmsg(ctx, "vmod re: no priv - out of workspace?"); errmsg(ctx, "vmod re: Could not get a PRIV_TASK - out of workspace?");
return (0); return (0);
} }
...@@ -595,7 +595,7 @@ vmod_regex_backref(VRT_CTX, struct vmod_re_regex *re, VCL_INT refnum, ...@@ -595,7 +595,7 @@ vmod_regex_backref(VRT_CTX, struct vmod_re_regex *re, VCL_INT refnum,
task = VRT_priv_task(ctx, re); task = VRT_priv_task(ctx, re);
if (task == NULL) { if (task == NULL) {
errmsg(ctx, "vmod re: no priv - out of workspace?"); errmsg(ctx, "vmod re: Could not get a PRIV_TASK - out of workspace?");
return (0); return (0);
} }
return backref(ctx, refnum, fallback, task); return backref(ctx, refnum, fallback, task);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment