Commit 30704e2c authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Meilleures infos en cas d'erreurs

parent b5177612
......@@ -33,4 +33,5 @@ $schema->setLogger($scl);
/* Mise à jour de la BDD */
$r = $schema->alter($ref, $ddlConfig, true);
var_dump($r);
\ No newline at end of file
......@@ -156,6 +156,9 @@ abstract class DdlAbstract
$this->bdd->exec($sql);
} catch (Exception $e) {
if (!$e instanceof BddCompileException) {
if ($logger){
$logger->log($e->getMessage());
}
$errors[] = $e;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment