aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/SessionManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/SessionManager.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionManager.cs b/MediaBrowser.Server.Implementations/Session/SessionManager.cs
index ceda8f47d..58a6f649c 100644
--- a/MediaBrowser.Server.Implementations/Session/SessionManager.cs
+++ b/MediaBrowser.Server.Implementations/Session/SessionManager.cs
@@ -1417,6 +1417,10 @@ namespace MediaBrowser.Server.Implementations.Session
{
_jsonSerializer.SerializeToFile(capabilities, path);
}
+ catch (Exception ex)
+ {
+ _logger.ErrorException("Error saving to {0}", ex, path);
+ }
finally
{
_capabilitiesLock.Release();