Skip to content

Commit

Permalink
Make parseConsoleRemoteObjectPreview 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 8748065 commit f0e9970
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 @@ -187,7 +187,7 @@ func valueFromRemoteObject(_ context.Context, robj *cdpruntime.RemoteObject) (an
func parseConsoleRemoteObjectPreview(logger *log.Logger, op *cdpruntime.ObjectPreview) (string, error) {
obj := make(map[string]string)
if op.Overflow {
logger.Infof("parseConsoleRemoteObjectPreview", "object is too large and will be parsed partially")
logger.Debugf("parseConsoleRemoteObjectPreview", "object is too large and will be parsed partially")
}

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

0 comments on commit f0e9970

Please sign in to comment.