refactor(endorsements controller) reject promise when call to services fail