Catch PDO errors when getting drivers/connections