fixed export to lims

This commit is contained in:
2026-09-22 15:27:35 +02:00
parent 955c760756
commit bb2ebcc122
+2 -2
View File
@@ -850,7 +850,7 @@ try {
try {
$up = $pdo->prepare("UPDATE datadb SET status = 'x', log_file = :log_file WHERE iddatadb = :iddatadb");
$up->execute(['log_file' => $errFileToSave, 'iddatadb' => $errIddatadb]);
} catch (Exception $ignore) { /* non bloccare la risposta d'errore */ }
} catch (Exception $ignore) { /* non bloccare la risposta d'errore */
}
}
@@ -864,7 +864,7 @@ try {
echo json_encode([
"success" => false,
"message" => "Export failed: " . $e->getMessage(),
"errorLog" => $logDir . $errName,
"errorLog" => $logDir . $errFileToSave,
"logFiles" => [
"step5_create" => $logFileStep5 ?? null,
"step5_2_photos" => $logFilePhotos ?? null,