.json() errors logs are now opt in
Changes
- function
.json()
no longer logs errors by default, you now have to opt in to log these errors.
For exampleconnection.select('stats').json(function or({error}) { console.error("Could not parse stats!", error) return { cpu_usage: '0.00%', memory: '0.00 MB', time: 0 } })