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