#44, added error log for pdo connect errors