|
|
@ -53,7 +53,10 @@ namespace NzbDrone.Core.Notifications.Notifiarr
|
|
|
|
_logger.Error("HTTP 401 - API key is invalid");
|
|
|
|
_logger.Error("HTTP 401 - API key is invalid");
|
|
|
|
throw new NotifiarrException("API key is invalid");
|
|
|
|
throw new NotifiarrException("API key is invalid");
|
|
|
|
case 400:
|
|
|
|
case 400:
|
|
|
|
throw new NotifiarrException("Unable to send notification. Ensure Lidarr Integration is enabled & assigned a channel on Notifiarr");
|
|
|
|
// 400 responses shouldn't be treated as an actual error because it's a misconfiguration
|
|
|
|
|
|
|
|
// between Lidarr and Notifiarr for a specific event, but shouldn't stop all events.
|
|
|
|
|
|
|
|
_logger.Error("HTTP 400 - Unable to send notification. Ensure Lidarr Integration is enabled & assigned a channel on Notifiarr");
|
|
|
|
|
|
|
|
break;
|
|
|
|
case 502:
|
|
|
|
case 502:
|
|
|
|
case 503:
|
|
|
|
case 503:
|
|
|
|
case 504:
|
|
|
|
case 504:
|
|
|
|