Is this related to a specific mod on the mod portal? I can't imagine that mod would function properly if written that way, since the game has gotten a little more strict with the way recipes have to be coded.
As for adding more debug lines... there are already a lot of checks in place to make sure item-recipe pairs are properly coded, so adding debug lines might just make things even more bloated. I could add another check here, to ensure that recipes have a proper results table, but that wouldn't really help you in this regard.
Funnily enough, I do already have a line there specifically to help me find the offending recipe:
--if not recipe.results[1] then error(serpent.block(recipe)) end