Added error handling to pet creation

500, 'Internal server error'