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

Fixed: Don't log handled exceptions in API

(cherry picked from commit 59f2e5b65dd7352aad92b33adefa6cf5ca79a0de)

Closes 
pull/2557/head
Mark McDowall 2 years ago committed by Bogdan
parent 91fadd5430
commit fecb3895ed

@ -13,6 +13,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Hosting.WindowsServices;
using Microsoft.Extensions.Logging;
using NLog;
using Npgsql;
using NzbDrone.Common.Composition.Extensions;
@ -26,6 +27,7 @@ using NzbDrone.Core.Configuration;
using NzbDrone.Core.Datastore.Extensions;
using NzbDrone.Core.Lifecycle;
using NzbDrone.Core.Messaging.Events;
using LogLevel = Microsoft.Extensions.Logging.LogLevel;
using PostgresOptions = NzbDrone.Core.Datastore.PostgresOptions;
namespace NzbDrone.Host
@ -148,6 +150,10 @@ namespace NzbDrone.Host
return new HostBuilder()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseServiceProviderFactory(new DryIocServiceProviderFactory(new Container(rules => rules.WithNzbDroneRules())))
.ConfigureLogging(logging =>
{
logging.AddFilter("Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware", LogLevel.None);
})
.ConfigureContainer<IContainer>(c =>
{
c.AutoAddServices(Bootstrap.ASSEMBLIES)

Loading…
Cancel
Save