mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
More unit tests for Plex notifications.
This commit is contained in:
parent
6e767eafab
commit
219ea364a9
2 changed files with 91 additions and 2 deletions
|
@ -37,11 +37,11 @@ namespace NzbDrone.Core.Providers
|
|||
try
|
||||
{
|
||||
var command = String.Format("ExecBuiltIn(Notification({0}, {1}))", header, message);
|
||||
SendCommand(host, command, _configProvider.PlexUsername, _configProvider.PlexPassword);
|
||||
SendCommand(host.Trim(), command, _configProvider.PlexUsername, _configProvider.PlexPassword);
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
logger.WarnException("Failed to send notification to Plex Client: " + host, ex);
|
||||
logger.WarnException("Failed to send notification to Plex Client: " + host.Trim(), ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue