Probe annoNet bootstrap scope

This commit is contained in:
Admin 2026-09-21 21:59:52 +00:00
parent b380056928
commit 9570a7a581

View File

@ -10,13 +10,12 @@ const { pool } = require("./src/db/pool");
AND t.name = 'Default Team' AND t.name = 'Default Team'
LIMIT 1` LIMIT 1`
); );
if (rows[0]) { console.error("[bootstrap-scope]", JSON.stringify(rows[0] || null));
console.log("[bootstrap-scope]", JSON.stringify(rows[0])); process.exitCode = 42;
}
} finally { } finally {
await pool.end(); await pool.end();
} }
})().catch((error) => { })().catch((error) => {
console.error("[bootstrap-scope-error]", error); console.error("[bootstrap-scope-error]", error);
process.exit(1); process.exit(43);
}); });