add error handling
This commit is contained in:
parent
e78bbbd6f1
commit
2345d02b41
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user