mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 10:19: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);
|
||||
tx.Commit();
|
||||
}
|
||||
catch (Exception e)
|
||||
catch
|
||||
{
|
||||
//tx.Rollback();
|
||||
tx.Commit();
|
||||
throw;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user