This article explains concerns that sometimes chocolate can be fatal to dogs, and sometimes they aren't. It claims that the dose and the ingredients are what decided the fatality of it. Chocolate contains theobromine and caffeine, which are the two ingredients that dogs struggle to digest. The dose is considered by dog size/weight. The bigger the dog, the more they're able to ingest before fatality occurs.