feat(claude-do): UI-Prozess loggt auf Platte (ui-.log) + fehlgeschlagene Hub-

## Problem
Beim DeleteTask-Bug (Fix 352aaa52) gab es null Spuren: Der UI-Prozess (ClaudeDo.App) hat gar kein File-Logging (weder Serilog noch `Microsoft.Extensions.Logging` sind in App/Ui referenziert), und im Worker loggt SignalR fehlgeschlagene Hub-Invocations nur auf Debug (`Microsoft.AspNetCore` steht in `src/ClaudeDo.Worker/Program.cs` Z. 60 auf Warning). Die Ursache ließ sich nur finden, ind

ClaudeDo-Task: d2ae3831-733f-4d40-93d7-70c93da11590
This commit is contained in:
Mika Kuns
2026-09-28 13:27:21 +02:00
parent 352aaa525b
commit 57dd676672
8 changed files with 93 additions and 2 deletions
+15 -1
View File
@@ -304,7 +304,11 @@ public partial class WorkerClient : ObservableObject, IAsyncDisposable, IWorkerC
ok = true;
return result;
}
catch { return default; }
catch (Exception ex)
{
Serilog.Log.Warning(ex, "Hub call {Method} failed", method);
return default;
}
finally { OperationTiming.Shared.Record("hub", method, sw.Elapsed, ok); }
}
@@ -318,6 +322,11 @@ public partial class WorkerClient : ObservableObject, IAsyncDisposable, IWorkerC
await invoke();
ok = true;
}
catch (Exception ex)
{
Serilog.Log.Warning(ex, "Hub call {Method} failed", method);
throw;
}
finally { OperationTiming.Shared.Record("hub", method, sw.Elapsed, ok); }
}
@@ -332,6 +341,11 @@ public partial class WorkerClient : ObservableObject, IAsyncDisposable, IWorkerC
ok = true;
return result;
}
catch (Exception ex)
{
Serilog.Log.Warning(ex, "Hub call {Method} failed", method);
throw;
}
finally { OperationTiming.Shared.Record("hub", method, sw.Elapsed, ok); }
}