Skip to content

Commit

Permalink
Fixes #145
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyD97 committed Apr 8, 2022
1 parent cd56d93 commit b969b00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private Status processResponse() {
&& reflectionController.validReflection(responseBody, iParameter))
.map(IParameter::getName).collect(Collectors.toList());

this.requestResponse = LoggerPlusPlus.callbacks.saveBuffersToTempFiles(requestResponse);
// this.requestResponse = LoggerPlusPlus.callbacks.saveBuffersToTempFiles(requestResponse);
} else {
//Just look for reflections in the headers.
ReflectionController reflectionController = LoggerPlusPlus.instance.getReflectionController();
Expand All @@ -428,7 +428,7 @@ private Status processResponse() {
IHttpRequestResponse original = this.requestResponse;
byte[] originalResponse = this.requestResponse.getResponse();
requestResponse.setResponse((new String(this.requestResponse.getResponse(), 0, requestResponse.getResponse().length - responseBodyLength) + "Response body trimmed by Logger++. To prevent this, increase \"Maximum Response Size\" in the Logger++ options.").getBytes(StandardCharsets.UTF_8));
this.requestResponse = LoggerPlusPlus.callbacks.saveBuffersToTempFiles(requestResponse);
// this.requestResponse = LoggerPlusPlus.callbacks.saveBuffersToTempFiles(requestResponse);
original.setResponse(originalResponse);
}

Expand Down

0 comments on commit b969b00

Please sign in to comment.