aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-03-01 17:12:22 +0100
committerBond-009 <bond.009@outlook.com>2019-03-01 17:12:22 +0100
commit9993dafe54fe4310d1008434405198d822ef51cc (patch)
treebb0ee1c270956acae13c73cd8b6df8f9469e3632 /Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
parent594b2713832dfd56b70a505d25288467003805af (diff)
Don't mix LINQ and roreach loops for readability
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteUserDataRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteUserDataRepository.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
index 7a9b72244..4109b7ad1 100644
--- a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
@@ -119,9 +119,9 @@ namespace Emby.Server.Implementations.Data
{
list.Add(row[0].ReadGuidFromBlob());
}
- catch
+ catch (Exception ex)
{
-
+ Logger.LogError(ex, "Error while getting user");
}
}
}