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'
|
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);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user