Change output->writeln to error_log.

This commit is contained in:
Korina Cordero 2020-12-14 03:28:09 +00:00
parent 83e5ea3810
commit 408a2bf42c

View file

@ -654,7 +654,8 @@ class WarrantyController extends APIController
$default_vehicle = $em->getRepository(Vehicle::class)->find($cvu_brand_id); $default_vehicle = $em->getRepository(Vehicle::class)->find($cvu_brand_id);
if ($default_vehicle == null) if ($default_vehicle == null)
{ {
$output->writeln("Need to add vehicle with default values."); //$output->writeln("Need to add vehicle with default values.");
error_log('Need to add vehicle with default values.');
return null; return null;
} }