core: add logger trace with proxy information (#7306)

This commit is contained in:
Diego Heras 2020-02-23 21:39:49 +01:00 committed by GitHub
parent 8c344b2917
commit 6067a4ff73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ namespace Jackett.Server.Services
logger.Error(e, "Error while reading the issue file");
}
logger.Info("Using Proxy: " + (string.IsNullOrEmpty(config.ProxyUrl) ? "No" : config.ProxyType.ToString()));
var monotype = Type.GetType("Mono.Runtime");
if (monotype != null && !DotNetCoreUtil.IsRunningOnDotNetCore)
{