Add more liberation logging

This commit is contained in:
MBucari committed 2025-11-23 23:40:23 -07:00
1 parent d82ffe1467
commit 74afbbf581
2 files changed
+20 -1

No files matched your search

@@ -150,6 +150,7 @@ public class ProcessBookViewModel : ReactiveObject
}
catch (ContentLicenseDeniedException ldex)
{
Serilog.Log.Logger.Error(ldex, "Content license was denied for {#Book}", LibraryBook.LogFriendly());
if (ldex.AYCL?.RejectionReason is null or RejectionReason.GenericError)
{
LogInfo($"{procName}: Content license was denied, but this error appears to be caused by a temporary interruption of service. - {LibraryBook.Book}");
@@ -163,6 +164,7 @@ public class ProcessBookViewModel : ReactiveObject
}
catch (Exception ex)
{
Serilog.Log.Logger.Error(ex, $"Unhandled exception in {procName} for {{@Book}}", LibraryBook.LogFriendly());
LogError(procName, ex);
}
finally