CORRECCION KUSHKI COMMAND VERIFICACION

parent c981d3dc
......@@ -38,7 +38,7 @@ class VerificarSuscripcionKushkiCommand extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
$log = Utiles::setLog('App\Command::VerificarSuscripcionKushkiCommand', 'command/verificarSuscripcionKushki');
$io = new SymfonyStyle($input, $output);
$periodo = Utiles::getParametroConfiguracion("periodoSuscripcion", $em);
$periodo = Utiles::getParametroConfiguracion("periodoSuscripcion", $this->em);
$suscripciones = $this->em
->getRepository(PluSuscripcion::class)
->findBy(array("susVigente" => PluSuscripcion::VIGENTE, "susUltimoTipoXml" => PluSuscripcion::TIPO_XML_SUSCRIPCION, "susTipoSuscripcion" => PluSuscripcion::TIPO_SUSCRIPCION_KUSHKI));
......@@ -148,7 +148,7 @@ class VerificarSuscripcionKushkiCommand extends Command {
break;
}
} else {
$log->err(' Error al verificar. url:' . $url . ' .Exception: ' . $e->getMessage());
$log->err(' Error al verificar. url:' . $url);
}
} catch (\Exception $e) {
$log->err(' Error al verificar. url:' . $url . ' .Exception: ' . $e->getMessage());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment