add user info, add table drop for dev env, fix invite route
All checks were successful
Code quality checks / biome (push) Successful in 8s
All checks were successful
Code quality checks / biome (push) Successful in 8s
This commit is contained in:
parent
320e2cc121
commit
0cb7ebb245
11 changed files with 209 additions and 21 deletions
|
@ -64,14 +64,14 @@ async function setup(): Promise<void> {
|
|||
}
|
||||
|
||||
setup()
|
||||
.catch((error: Error) => {
|
||||
.catch((error) => {
|
||||
logger.error(error);
|
||||
process.exit(1);
|
||||
})
|
||||
.finally(() => {
|
||||
cassandra.shutdown().catch((error: Error) => {
|
||||
logger.error(["Error shutting down Cassandra client:", error]);
|
||||
});
|
||||
|
||||
process.exit(0);
|
||||
.finally(async () => {
|
||||
try {
|
||||
await cassandra.shutdown();
|
||||
} catch (error) {
|
||||
logger.error(["Error shutting down Cassandra client:", error as Error]);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue