Hacker News new | ask | show | jobs
by accoil 529 days ago
Yeah. I imagine that's a bandaid around having to consume a dodgy api that they didn't have access/permission to fix.

The blanket catch is odd though, as I'd have thought that it would still be outputting valid json (even if it has been serialized multiple times), and if you're getting invalid json you probably want to know about that.

1 comments

probably some times the api comes out with an empty string.