mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Additional info added to install log when failures happen.
This commit is contained in:
@@ -1186,7 +1186,9 @@ class xmlClass
|
|||||||
}
|
}
|
||||||
else
|
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