Add one extra null check just in case

This commit is contained in:
James Agnew 2018-10-15 15:18:45 -04:00
parent 73a7c6e760
commit a0333a4767
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ public class BaseController {
}
}
resultDescription.append(" (").append(resultBody.length() + " bytes)");
resultDescription.append(" (").append(defaultString(resultBody).length() + " bytes)");
Header[] requestHeaders = lastRequest != null ? applyHeaderFilters(lastRequest.getAllHeaders()) : new Header[0];
Header[] responseHeaders = lastResponse != null ? applyHeaderFilters(lastResponse.getAllHeaders()) : new Header[0];