mirror of https://github.com/Radarr/Radarr
Update name for errors with metadata API
This commit is contained in:
parent
8ec6b5dd4d
commit
94287d9427
|
@ -517,17 +517,17 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||||
catch (HttpException ex)
|
catch (HttpException ex)
|
||||||
{
|
{
|
||||||
_logger.Warn(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)
|
catch (WebException ex)
|
||||||
{
|
{
|
||||||
_logger.Warn(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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Warn(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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue