Changeset 82438 in spip-zone


Ignore:
Timestamp:
May 16, 2014, 9:26:34 AM (5 years ago)
Author:
fil@…
Message:

message d'erreur lors du REPLACE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/lib/Indexer/Storage/Sphinx.php

    r82434 r82438  
    3232        foreach ($documents as $document) {
    3333            $data = $this->reformatDocument($document);
    34             $prepare->execute($data);
     34            try {
     35                $prepare->execute($data);
     36            } except (PDOException $e) {
     37                echo "<div>".$e->getMessage()."</div>";
     38            }
    3539        }
    3640    }
Note: See TracChangeset for help on using the changeset viewer.