The best thing while implementing error logging into your application is to think:
"This little edge case will only hit me rarely, but better to log it anyway. 😇"
Narrator: "It hurled CloudWatch alerts at your direction ~100 events per minute. 👹"
Always log your errors and see how they scale.
Most of the time, that helpful metadata attached to the logging event (JSON objects and something) are either total garbage, undefined, or strings of "[object Object]".
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!