I've thrown out leftovers that were left out, solely on the decision process of "how much would I pay to not get food poisoning/gut ache from this dish". If the dish cost $5-$10 to remake, I'll gladly "pay" that to not get sick.
I grew up in a house where leftovers were routinely left out on the stove and then reheated for the next meal. Sometimes there were a couple of cycles of that before something was all eaten. In addition, my Mom's "too spoiled to eat" threshold for tossing things from the fridge was very, very high. I think it had to be unrecognizable. She also would bring home expired yogurt that she got for free from her work and tell it was fine to eat . . . just made me think I hate yogurt, which I now know if not true.
And, looking back, I had food poisoning quite a bit as a child. To the point where I thought regular cycles of it was the normal state of being until I was an adult living on my own.
I also spent a few terrible days thinking I was going to die in a third world country once, and I'm pretty sure that was food poisoning since I was so very careful about the water. It's not a fun way to die, let me assure you, but I kind of resigned myself to it while it was happening, making a bizarre peace with the idea. I did the only thing I could do: drink all of the sealed bottled water available over time to avoid dehydration, and take all the pepto in my bag a few at a time. Thank God there was a huge stockpile of the bottled water readily available. Okay, this is all TMI.
Top that off with the fact that bacterial diseases are THE leading cause of death worldwide, and I'd rather just toss something like that at this point in my life.
Glad it was delicious, though, and that you are fine.