mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +02:00
More unit tests for Plex notifications.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user