add Logging

This commit is contained in:
Marko 2024-07-31 14:07:45 +02:00
parent 966905a3bf
commit e6371751eb
No known key found for this signature in database

View File

@ -246,6 +246,11 @@ class Hiltes
# Send request.
$result = curl_exec($ch);
curl_close($ch);
if ($auth) {
$this->logger->info('Result ' . $result);
}
return $result;
}
@ -372,7 +377,7 @@ class Hiltes
try {
//Status 3 für erfolgreich exportiert
$order->setStatus(3);
$order->setHiltes($t);
// $order->setHiltes($t);
$this->orderRepository->update($order, true);
} catch (\Exception $exception) {
@ -386,7 +391,7 @@ class Hiltes
try {
//Status 4 für Fehler
$order->setStatus(4);
$order->setHiltes($t);
//$order->setHiltes($t);
$this->orderRepository->update($order, true);
} catch (\Exception $exception) {