Fixed the PDO exception message output