mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Fix the exception in #440
This commit is contained in:
parent
f03392691c
commit
85baa67f29
3 changed files with 120 additions and 113 deletions
|
@ -637,8 +637,8 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
return await AddRequest(model, settings, $"{fullShowName} {Resources.UI.Search_SuccessfullyAdded}");
|
||||
}
|
||||
|
||||
return Response.AsJson(ValidationHelper.SendSonarrError(result?.ErrorMessages));
|
||||
Log.Debug("Error with sending to sonarr.");
|
||||
return Response.AsJson(ValidationHelper.SendSonarrError(result?.ErrorMessages ?? new List<string>()));
|
||||
}
|
||||
|
||||
var srSettings = SickRageService.GetSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue