Do a try excpet to raise an error when get pp

Raise error in get political party
Merge pull request #7 from lucassimon/master

Do a try excpet to raise an error when get pp