I doubt there is anything you could have done to harm him in such a short time. Frogs can get stressed out to the point they will croak but it would probably have to include your dog barking at him constantly for two days. He most certainly was sick when you got him and the simple change in environment pushed him over the edge. Why don't you post a pic of the tank you had him in. Take him back and ask for a refund.