Added error handling to pet creation

no console logs >=|