mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 18:29:39 +00:00
fix another compiler warning
This commit is contained in:
parent
ea879c8653
commit
133eb1f9c1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user