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