mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-08 04:21:32 +02:00
Revert "Fixed: UI AddNew Error Displays Correctly"
This reverts commit e56eb3093a.
This commit is contained in:
parent
c201bc3510
commit
f7a0706479
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