Cartola BCI
This commit is contained in:
@ -121,7 +121,12 @@ class Cartola extends Service
|
||||
} catch (Exception\EmptyResult $exception) {
|
||||
$data['cuenta_id'] = $cuenta->id;
|
||||
$movimiento = $this->movimientoRepository->create($data);
|
||||
return $this->movimientoRepository->save($movimiento);
|
||||
try {
|
||||
return $this->movimientoRepository->save($movimiento);
|
||||
} catch (\PDOException $exception) {
|
||||
$this->logger->critical(var_export($data,true));
|
||||
throw $exception;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user