mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Additional info added to install log when failures happen.
This commit is contained in:
@@ -1186,7 +1186,9 @@ class xmlClass
|
||||
}
|
||||
else
|
||||
{
|
||||
$ret['failed'][] = $table;
|
||||
$error = $sql->getLastErrorText();
|
||||
$lastQry = $sql->getLastQuery();
|
||||
$ret['failed'][] = $table. "\n[".$error."]\n".$lastQry."\n\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user