From aebcd997f48c08521dc18792e029fefbbb2f7c1f Mon Sep 17 00:00:00 2001 From: marsalva Date: Sun, 22 Mar 2026 22:20:02 +0000 Subject: [PATCH] Actualizar robot.js --- robot.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/robot.js b/robot.js index f7638e4..24ea380 100644 --- a/robot.js +++ b/robot.js @@ -236,14 +236,15 @@ async function main() { } catch (e) { continue; } } - if (scrapData && scrapData['Nombre Cliente']) { + if (scrapData && scrapData['Nombre Cliente']) { const idGremioDetectado = clasificarGremio(scrapData['Descripción'], gremiosDB); if (idGremioDetectado) { scrapData['guild_id'] = idGremioDetectado; } await saveServiceToDB(ownerId, 'multiasistencia', ref, scrapData); } - } catch (e) { + } // <--- ESTA LLAVE CIERRA EL BUCLE FOR + } catch (e) { // <--- ESTA LLAVE CIERRA EL BLOQUE TRY console.error("❌ Error Multi:", e.message); } finally { await browser.close();