A humorous code horror story from The Daily WTF: a MongoDB `updateOne` call was mistakenly given an Express.js route callback signature (with `err`, `result`, and `next` parameters) instead of the correct options object. The broken code somehow made it to production in 2019 and only started blowing up logs recently, when a
Sort: