Skip to content

Commit 70dcbf7

Browse files
committed
fix: Remove strict 40 char limit on serializeValue
1 parent 1831f30 commit 70dcbf7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/utils/src/object.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { ExtendedError, WrappedFunction } from '@sentry/types';
22

33
import { isError, isPrimitive, isSyntheticEvent } from './is';
44
import { Memo } from './memo';
5-
import { truncate } from './string';
65

76
/**
87
* Wrap a given object method with a higher-order function
@@ -124,7 +123,7 @@ function serializeValue(value: any): any {
124123

125124
// Node.js REPL notation
126125
if (typeof value === 'string') {
127-
return truncate(value, 40);
126+
return value;
128127
}
129128
if (type === '[object Object]') {
130129
return '[Object]';

0 commit comments

Comments
 (0)