Skip to content

Commit

Permalink
Make parseConsoleRemoteArrayPreview use debug log level on overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiade committed Nov 29, 2024
1 parent f0e9970 commit d0ab3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/remote_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func parseConsoleRemoteObjectPreview(logger *log.Logger, op *cdpruntime.ObjectPr
func parseConsoleRemoteArrayPreview(logger *log.Logger, op *cdpruntime.ObjectPreview) (string, error) {
arr := make([]any, 0, len(op.Properties))
if op.Overflow {
logger.Infof("parseConsoleRemoteArrayPreview", "array is too large and will be parsed partially")
logger.Debugf("parseConsoleRemoteArrayPreview", "array is too large and will be parsed partially")
}

for _, p := range op.Properties {
Expand Down

0 comments on commit d0ab3f4

Please sign in to comment.