add Logging
This commit is contained in:
parent
966905a3bf
commit
e6371751eb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user