[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-12 16:08:09 +00:00 committed by GitHub
parent 726bcf86f8
commit b36b292585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)";
}