Fix linting

This commit is contained in:
yangdx
2025-04-03 17:31:01 +08:00
parent 91b6064645
commit a4b22f5343

View File

@@ -130,7 +130,9 @@ class PostgreSQLDB:
logger.info(f"PostgreSQL, Creating index {index_name} on table {k}") logger.info(f"PostgreSQL, Creating index {index_name} on table {k}")
await self.execute(create_index_sql) await self.execute(create_index_sql)
except Exception as e: except Exception as e:
logger.error(f"PostgreSQL, Failed to create index on table {k}, Got: {e}") logger.error(
f"PostgreSQL, Failed to create index on table {k}, Got: {e}"
)
async def query( async def query(
self, self,