fix rule around request/response when logging

This commit is contained in:
Grahame Grieve 2021-11-05 17:14:08 +11:00
parent 80e1606bf9
commit 43c25ae4f8
1 changed files with 3 additions and 3 deletions

View File

@ -89,12 +89,12 @@ public class HTMLClientLogger extends BaseLogger implements ToolingClientLogger
if (DEBUG) {
System.out.println(" txlog resp: " +outcome+" "+present(body));
}
if (!req) {
System.out.println("Record Response without request");
}
req = false;
if (file == null)
return;
if (!req) {
System.out.println("Record Response without request");
}
file.println("<pre>");
file.println(outcome);
for (String s : headers)