Better sync log

This commit is contained in:
2025-09-18 02:04:01 +02:00
parent c199f37b14
commit 429cd2284f
18 changed files with 30 additions and 29 deletions

View File

@@ -33,7 +33,7 @@ public class SendNotificationsWorker(TimeSpan? interval = null, IEnumerable<Base
Log.Debug("Notifications sent.");
if(await DbContext.Sync(CancellationToken) is { success: false } e)
if(await DbContext.Sync(CancellationToken, GetType()) is { success: false } e)
Log.Error($"Failed to save database changes: {e.exceptionMessage}");
return [];