getMessage() . PHP_EOL); exit(1); } flash('danger', 'Error al importar: ' . $e->getMessage()); } redirect(BASE_URL . '/admin/ubicaciones.php');