mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
add error handling
This commit is contained in:
parent
e78bbbd6f1
commit
2345d02b41
1 changed files with 8 additions and 1 deletions
|
@ -80,7 +80,14 @@ namespace Emby.Server.Implementations.Data
|
|||
AddColumn(db, "userdata", "SubtitleStreamIndex", "int", existingColumnNames);
|
||||
}, TransactionMode);
|
||||
|
||||
ImportUserDataIfNeeded(connection);
|
||||
try
|
||||
{
|
||||
ImportUserDataIfNeeded(connection);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.ErrorException("Error in ImportUserDataIfNeeded", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue