You’re beating your head against the wall. The table. Your monitor. Your console is laughing at you. Something isn’t undefined. It’s not an empty string. It’s just… something.
You spend a warm hour looking at your code. Nothing seems wrong. You Google and StackOverflow for something. Nothing.
You dump the WebSocket notification data, which is in XML format, to the console. Nothing obvious.
Wait. A. Minute.
The data has a node you’re digging into. And there isn’t a closing tag. When you perform your jQuery find – it’s coming back with nothing. That data is slippery, like a greased eel swimming in motor oil. So slippery, you can’t grasp it. Lost to the ether… until someone fixes the freaking return that’s missing the closing tag.