N°9169 - Adapt ITSM designer connector to the new setup (WIP)

This commit is contained in:
Eric Espie
2026-05-27 17:38:19 +02:00
parent 643ec3bc43
commit 06bff3f9e4
13 changed files with 141 additions and 62 deletions

View File

@@ -42,7 +42,7 @@ class ModelReflectionSerializer
$sCommandLine = sprintf("$sPHPExec %s/get_model_reflection.php --env=%s", __DIR__, escapeshellarg($sEnv));
exec($sCommandLine, $sOutput, $iRes);
if ($iRes != 0) {
$this->LogErrorWithProperLogger("Cannot get classes", null, ['env' => $sEnv, 'code' => $iRes, "output" => $sOutput]);
$this->LogErrorWithProperLogger("Cannot get classes", null, ['env' => $sEnv, 'code' => $iRes, "output" => $sOutput, 'cmd' => $sCommandLine]);
throw new CoreException("Cannot get classes from env ".$sEnv);
}