[autofix.ci] apply automated fixes
This commit is contained in:
parent
726bcf86f8
commit
b36b292585
@ -1145,7 +1145,8 @@ class Monitor extends BeanModel {
|
||||
}
|
||||
}
|
||||
|
||||
const maxSize = this.response_max_length !== undefined ? this.response_max_length : RESPONSE_BODY_LENGTH_DEFAULT;
|
||||
const maxSize =
|
||||
this.response_max_length !== undefined ? this.response_max_length : RESPONSE_BODY_LENGTH_DEFAULT;
|
||||
if (maxSize > 0 && responseData.length > maxSize) {
|
||||
responseData = responseData.substring(0, maxSize) + "... (truncated)";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user