N°8760 - setupaudit and dry removal API review with Romain - avoid file deletion

N°8760 - be able to simulate extension removal by oerriding GetExtensionMap

be able to simulate SetupAudit errors in Setups for integration tests

fix rebase
This commit is contained in:
odain
2025-11-03 17:33:17 +01:00
parent 9cdc707bc5
commit a2b01b3ed4
11 changed files with 289 additions and 217 deletions

View File

@@ -24,7 +24,9 @@ try {
MetaModel::Startup($sConfFile, false /* $bModelOnly */, true /* $bAllowCache */, false /* $bTraceSourceFiles */, $sEnv);
}
catch (\Throwable $e) {
\IssueLog::Error("Cannot read model from provided environment", null,
echo $e->getMessage();
echo $e->getTraceAsString();
\SetupLog::Error("Cannot read model from provided environment", null,
[
'env' => $sEnv,
'error' => $e->getMessage(),