mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 01:50:53 +01:00
return false when providerid is null or empty
This commit is contained in:
@@ -869,14 +869,14 @@ namespace MediaBrowser.Providers.Manager
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
#pragma warning disable CA1031 // do not catch general exception types
|
||||
catch (Exception ex)
|
||||
#pragma warning restore CA1031 // do not catch general exception types
|
||||
{
|
||||
// Logged at lower levels
|
||||
_logger.LogError(ex, "Provider {ProviderName} failed to retrieve search results", provider.Name);
|
||||
}
|
||||
}
|
||||
|
||||
// _logger.LogDebug("Returning search results {0}", _json.SerializeToString(resultList));
|
||||
|
||||
return resultList;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user