|
|
@ -534,17 +534,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 RadarrAPI.", ex, title);
|
|
|
|
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with RadarrAPI. {1}", ex, title, ex.Message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (WebException ex)
|
|
|
|
catch (WebException ex)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.Warn(ex);
|
|
|
|
_logger.Warn(ex);
|
|
|
|
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with RadarrAPI.", ex, title, ex.Message);
|
|
|
|
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with RadarrAPI. {1}", 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 RadarrAPI.", ex, title);
|
|
|
|
throw new SkyHookException("Search for '{0}' failed. Invalid response received from RadarrAPI. {1}", ex, title, ex.Message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|