We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cf7a16 commit 9834390Copy full SHA for 9834390
1 file changed
packages/server/shared/src/lib/logger/log-cleaner.ts
@@ -41,11 +41,7 @@ export const cleanLogEvent = (logEvent: any) => {
41
} else if (typeof value === 'number') {
42
eventData[key] = Math.round(value * 100) / 100;
43
} else if (typeof value === 'object') {
44
- try {
45
- eventData[key] = stringify(value);
46
- } catch (error) {
47
- eventData[key] = `Logger error - could not stringify object. ${error}`;
48
- }
+ eventData[key] = stringify(value);
49
} else {
50
eventData[key] = truncate(value);
51
}
0 commit comments