mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
reduce log size
This commit is contained in:
parent
dedd76cfb7
commit
e54e61f3c0
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ const truncateObjectDeep = (object: any, length: number): any => {
|
|||
const truncateDeep = (obj: any, level: number): any => {
|
||||
// reach maximum call stack size
|
||||
if (level >= 5) {
|
||||
return {}
|
||||
return undefined
|
||||
}
|
||||
|
||||
if (isString(obj) && obj.length > length) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue