aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-28 13:32:50 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-28 13:32:50 -0400
commit110d1e6fbef39959f7c7b99eca6bbb0bc41dc218 (patch)
tree49ba780a161e5170b6790db675f3034c40db3f09 /MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs
parent969bc00098f8069862d5049c296b905826868ada (diff)
removed swallowed exceptions
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs b/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs
index df0d13b62..335841549 100644
--- a/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs
+++ b/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserRepository.cs
@@ -145,6 +145,8 @@ namespace MediaBrowser.Server.Implementations.Sqlite
{
transaction.Rollback();
}
+
+ throw;
}
catch (Exception e)
{
@@ -154,6 +156,8 @@ namespace MediaBrowser.Server.Implementations.Sqlite
{
transaction.Rollback();
}
+
+ throw;
}
finally
{
@@ -228,7 +232,7 @@ namespace MediaBrowser.Server.Implementations.Sqlite
cmd.Transaction = transaction;
- await ExecuteCommand(cmd).ConfigureAwait(false);
+ await cmd.ExecuteNonQueryAsync(cancellationToken).ConfigureAwait(false);
}
transaction.Commit();
@@ -239,6 +243,8 @@ namespace MediaBrowser.Server.Implementations.Sqlite
{
transaction.Rollback();
}
+
+ throw;
}
catch (Exception e)
{
@@ -248,6 +254,8 @@ namespace MediaBrowser.Server.Implementations.Sqlite
{
transaction.Rollback();
}
+
+ throw;
}
finally
{