mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Revert to old line
This commit is contained in:
parent
229917a2f8
commit
7abdf71c49
1 changed files with 1 additions and 11 deletions
|
@ -254,18 +254,8 @@ namespace MediaBrowser.Providers.Subtitles
|
|||
{
|
||||
// Bug in analyzer -- https://github.com/dotnet/roslyn-analyzers/issues/5160
|
||||
#pragma warning disable CA1508
|
||||
if (exs == null)
|
||||
(exs ??= new List<Exception>()).Add(ex);
|
||||
#pragma warning restore CA1508
|
||||
{
|
||||
exs = new List<Exception>
|
||||
{
|
||||
ex
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
exs.Add(ex);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue