We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd34ba commit bf0f6b5Copy full SHA for bf0f6b5
plugins/browser-plugin-error-tracking/src/util.ts
@@ -6,7 +6,7 @@
6
* @returns The truncated string
7
*/
8
export function truncateString(string?: string, maxLength: number = 8192): string | undefined {
9
- if (string && string.length > 8192) {
+ if (string && string.length > maxLength) {
10
const truncatedString = string.substring(0, maxLength);
11
return truncatedString;
12
}
0 commit comments