Commit 744e55dc authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Log VSM/VSL errors in varnishtest

This might be useful for debugging
parent ad8e8f8e
......@@ -209,11 +209,15 @@ varnishlog_thread(void *priv)
if (c == NULL) {
VTIM_sleep(0.1);
if (VSM_Open(vsm)) {
vtc_log(v->vl, 3, "vsm|%s",
VSM_Error(vsm));
VSM_ResetError(vsm);
continue;
}
c = VSL_CursorVSM(vsl, vsm, opt);
if (c == NULL) {
vtc_log(v->vl, 3, "vsl|%s",
VSL_Error(vsl));
VSL_ResetError(vsl);
continue;
}
......
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