1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-19 17:32:38 +01:00

Update name for errors with metadata API

This commit is contained in:
bakerboy448 2024-02-21 17:03:08 -06:00 committed by GitHub
parent 8ec6b5dd4d
commit 94287d9427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -517,17 +517,17 @@ public List<Movie> SearchForNewMovie(string title)
catch (HttpException ex)
{
_logger.Warn(ex);
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with TMDb.", ex, title);
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with RadarrAPI.", ex, title);
}
catch (WebException ex)
{
_logger.Warn(ex);
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with TMDb.", ex, title, ex.Message);
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with RadarrAPI.", ex, title, ex.Message);
}
catch (Exception ex)
{
_logger.Warn(ex);
throw new SkyHookException("Search for '{0}' failed. Invalid response received from TMDb.", ex, title);
throw new SkyHookException("Search for '{0}' failed. Invalid response received from RadarrAPI.", ex, title);
}
}