From f6f86deb7f1d9d8bf296043b6d9e7391f965e2fc Mon Sep 17 00:00:00 2001 From: Glax Date: Fri, 16 May 2025 14:36:48 +0200 Subject: [PATCH] Add Debug output --- API/Tranga.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/API/Tranga.cs b/API/Tranga.cs index 1024568..d844a95 100644 --- a/API/Tranga.cs +++ b/API/Tranga.cs @@ -191,7 +191,9 @@ public static class Tranga dueJobs .Where(j => { - context.Entry(j).Collection(j => j.DependsOnJobs).Load(LoadOptions.ForceIdentityResolution); + Log.Debug($"Loading Job Preconditions {j}..."); + context.Entry(j).Collection(j => j.DependsOnJobs).Load(); + Log.Debug($"Loaded Job Preconditions {j}!"); return j.DependenciesFulfilled; }) .Where(j =>