mirror of
https://github.com/Lidarr/Lidarr
synced 2026-03-03 11:06:50 +01:00
Revert "Fixed: UI AddNew Error Displays Correctly"
This reverts commit e56eb3093a.
This commit is contained in:
parent
e56eb3093a
commit
cba115b7c7
1 changed files with 3 additions and 3 deletions
|
|
@ -236,17 +236,17 @@ public List<Artist> SearchForNewArtist(string title)
|
|||
catch (HttpException ex)
|
||||
{
|
||||
_logger.Warn(ex);
|
||||
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with LidarrAPI.", ex, title);
|
||||
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with LidarrAPI. {1}", ex, title, ex.Message);
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
_logger.Warn(ex);
|
||||
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with LidarrAPI.", ex, title);
|
||||
throw new SkyHookException("Search for '{0}' failed. Unable to communicate with LidarrAPI. {1}", ex, title, ex.Message);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Warn(ex);
|
||||
throw new SkyHookException("Search for '{0}' failed. Invalid response received from LidarrAPI.", ex, title);
|
||||
throw new SkyHookException("Search for '{0}' failed. Invalid response received from LidarrAPI. {1}", ex, title, ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue