Update cassandra.ts
All checks were successful
Code quality checks / biome (push) Successful in 8s

This commit is contained in:
creations 2025-06-13 20:33:39 -04:00
parent a783a0e663
commit 92172479f6
Signed by: creations
GPG key ID: 8F553AA4320FC711

View file

@ -17,7 +17,7 @@ class CassandraService {
private static logger: Echo = new Echo({ subDirectory: "cassandra" });
private static loggerNoFile: Echo = new Echo({ disableFile: true });
private constructor() { }
private constructor() {}
public static getClient(): Client {
if (!CassandraService.instance) {
@ -143,7 +143,7 @@ class CassandraService {
message: "Failed to connect to Cassandra:",
error,
});
await client.shutdown().catch(() => { });
await client.shutdown().catch(() => {});
throw error;
}
}