fix rule around request/response when logging
This commit is contained in:
parent
80e1606bf9
commit
43c25ae4f8
|
@ -89,12 +89,12 @@ public class HTMLClientLogger extends BaseLogger implements ToolingClientLogger
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
System.out.println(" txlog resp: " +outcome+" "+present(body));
|
System.out.println(" txlog resp: " +outcome+" "+present(body));
|
||||||
}
|
}
|
||||||
if (!req) {
|
|
||||||
System.out.println("Record Response without request");
|
|
||||||
}
|
|
||||||
req = false;
|
req = false;
|
||||||
if (file == null)
|
if (file == null)
|
||||||
return;
|
return;
|
||||||
|
if (!req) {
|
||||||
|
System.out.println("Record Response without request");
|
||||||
|
}
|
||||||
file.println("<pre>");
|
file.println("<pre>");
|
||||||
file.println(outcome);
|
file.println(outcome);
|
||||||
for (String s : headers)
|
for (String s : headers)
|
||||||
|
|
Loading…
Reference in New Issue