fix another compiler warning

This commit is contained in:
13xforever 2020-11-10 22:33:22 +05:00
parent ea879c8653
commit 133eb1f9c1

View File

@ -96,9 +96,8 @@ namespace CompatBot.Database
await db.ExecuteSqlRawAsync("CREATE UNIQUE INDEX `explanation_keyword` ON `explanation` (`keyword`)", cancellationToken); await db.ExecuteSqlRawAsync("CREATE UNIQUE INDEX `explanation_keyword` ON `explanation` (`keyword`)", cancellationToken);
tx.Commit(); tx.Commit();
} }
catch (Exception e) catch
{ {
//tx.Rollback();
tx.Commit(); tx.Commit();
throw; throw;
} }