diff --git a/src/main/kotlin/com/sourcegraph/cody/error/CodyErrorSubmitter.kt b/src/main/kotlin/com/sourcegraph/cody/error/CodyErrorSubmitter.kt index da11cdf466..ead4846f84 100644 --- a/src/main/kotlin/com/sourcegraph/cody/error/CodyErrorSubmitter.kt +++ b/src/main/kotlin/com/sourcegraph/cody/error/CodyErrorSubmitter.kt @@ -69,7 +69,7 @@ class CodyErrorSubmitter : ErrorReportSubmitter() { private fun formatLogs(throwableText: String?, additionalInfo: String?) = formatAttributes( "Stacktrace" to - throwableText?.let { trimPostfix(throwableText, 6500) }, // max total length is 8192 + throwableText?.let { trimPostfix(throwableText, 6000) }, // max total length is 8192 "Additional info" to additionalInfo) private fun trimPostfix(text: String, maxLength: Int): String {