Catch PDO exceptions
Merge pull request #1 from aFreshMelon/master

Catch PDO exceptions