add error handling

This commit is contained in:
Luke Pulverenti 2016-12-18 02:32:28 -05:00
parent e78bbbd6f1
commit 2345d02b41

View File

@ -80,8 +80,15 @@ namespace Emby.Server.Implementations.Data
AddColumn(db, "userdata", "SubtitleStreamIndex", "int", existingColumnNames); AddColumn(db, "userdata", "SubtitleStreamIndex", "int", existingColumnNames);
}, TransactionMode); }, TransactionMode);
try
{
ImportUserDataIfNeeded(connection); ImportUserDataIfNeeded(connection);
} }
catch (Exception ex)
{
Logger.ErrorException("Error in ImportUserDataIfNeeded", ex);
}
}
} }
protected override bool EnableTempStoreMemory protected override bool EnableTempStoreMemory