fix(client): do not call toJSON for buffers
This commit is contained in:
parent
2daf497cc4
commit
1e9c4de86d
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ export function makeInspectable(
|
|||
if (
|
||||
val &&
|
||||
typeof val === 'object' &&
|
||||
!Buffer.isBuffer(val) &&
|
||||
typeof val.toJSON === 'function'
|
||||
) {
|
||||
val = val.toJSON()
|
||||
|
|
Loading…
Reference in a new issue