Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/blame/commit/34038245eb93d53ccdb42e9c628cb26cfab1709f/NzbDrone.Common/NlogTargets/RemoteTarget.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using NLog;
|
|
|
|
|
using NLog.Targets;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Common.NlogTargets
|
|
|
|
|
{
|
|
|
|
|
public class RemoteTarget : Target
|
|
|
|
|
{
|
|
|
|
|
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
|
|
|
|
|
|
|
|
|
protected override void Write(LogEventInfo logEvent)
|
|
|
|
|
{
|
|
|
|
|
if (logEvent == null || logEvent.Exception == null) return;
|
|
|
|
|
|
|
|
|
|
logger.Trace("Sending Exception to Service.NzbDrone.com . Process Name: {0}", Process.GetCurrentProcess().ProcessName);
|
|
|
|
|
|
|
|
|
|
ReportingService.ReportException(logEvent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|