Only catch PDOException

QueryException expects the previous exception to be a PDOException - if it's not, the exception itself causes a fatal error because `$this->errorInfo` is not defined. If a connection statement being ran causes an exception that's not a PDOException it should probably just be passed on through the app.