Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/a681024db2e4d5a9bae8737d4b5728e8d544fa01 You should set ROOT_URL correctly, otherwise the web may not work correctly.

SABnzbd Auto-Configure will now display an error on failure.

pull/7/merge
Mark McDowall 14 years ago
parent ff4d90eef3
commit a681024db2

@ -307,7 +307,6 @@ namespace NzbDrone.Web.Controllers
return new JsonResult { Data = "ok" };
}
public QualityModel GetUpdatedProfileList()
{
var profiles = _qualityProvider.All().ToList();
@ -323,7 +322,16 @@ namespace NzbDrone.Web.Controllers
try
{
var info = _autoConfigureProvider.AutoConfigureSab();
return Json(info, JsonRequestBehavior.AllowGet);
if (info != null)
return Json(info, JsonRequestBehavior.AllowGet);
return Json(new NotificationResult
{
Title = "Auto-Configure Failed",
Text = "Please enter your SAB Settings Manually",
NotificationType = NotificationType.Error
}, JsonRequestBehavior.AllowGet);
}
catch (Exception)

@ -12,4 +12,4 @@ Settings
<li>@Html.ActionLink("Notifications", "Notifications", "Settings")</li>
<li>@Html.ActionLink("System", "System", "Settings")</li>
</ul>
</div>
</div>
Loading…
Cancel
Save