add PDO error mode call to pdo service (for sessions)