fixed export to lims
This commit is contained in:
@@ -850,7 +850,7 @@ try {
|
|||||||
try {
|
try {
|
||||||
$up = $pdo->prepare("UPDATE datadb SET status = 'x', log_file = :log_file WHERE iddatadb = :iddatadb");
|
$up = $pdo->prepare("UPDATE datadb SET status = 'x', log_file = :log_file WHERE iddatadb = :iddatadb");
|
||||||
$up->execute(['log_file' => $errFileToSave, 'iddatadb' => $errIddatadb]);
|
$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([
|
echo json_encode([
|
||||||
"success" => false,
|
"success" => false,
|
||||||
"message" => "Export failed: " . $e->getMessage(),
|
"message" => "Export failed: " . $e->getMessage(),
|
||||||
"errorLog" => $logDir . $errName,
|
"errorLog" => $logDir . $errFileToSave,
|
||||||
"logFiles" => [
|
"logFiles" => [
|
||||||
"step5_create" => $logFileStep5 ?? null,
|
"step5_create" => $logFileStep5 ?? null,
|
||||||
"step5_2_photos" => $logFilePhotos ?? null,
|
"step5_2_photos" => $logFilePhotos ?? null,
|
||||||
|
|||||||
Reference in New Issue
Block a user