Id say the snake probably smelled the dog anyway and you also sound like you didnt let the snake get comfortable in its new environment first. Feed and let your snake for at least a week before handling again.