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,7 +80,14 @@ namespace Emby.Server.Implementations.Data
AddColumn(db, "userdata", "SubtitleStreamIndex", "int", existingColumnNames); AddColumn(db, "userdata", "SubtitleStreamIndex", "int", existingColumnNames);
}, TransactionMode); }, TransactionMode);
ImportUserDataIfNeeded(connection); try
{
ImportUserDataIfNeeded(connection);
}
catch (Exception ex)
{
Logger.ErrorException("Error in ImportUserDataIfNeeded", ex);
}
} }
} }