Probe annoNet bootstrap scope
This commit is contained in:
parent
b380056928
commit
9570a7a581
@ -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);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user