mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 16:46:08 +02:00
refactor: Update IrcGatewayService to use IServiceProvider for dependency resolution
feat: Simplify IChatBroadcaster registration in IrcServiceExtensions feat: Add diagnostic logging for IRC configuration and environment
This commit is contained in:
@@ -202,6 +202,10 @@ while (true)
|
||||
}
|
||||
}, heartbeatCts.Token);
|
||||
|
||||
// ── Config diagnostics ─────────────────────────────────────────────
|
||||
Console.Error.WriteLine($"[DIAG] Irc:Enabled = {app.Configuration.GetValue<bool>("Irc:Enabled")}");
|
||||
Console.Error.WriteLine($"[DIAG] Environment = {app.Environment.EnvironmentName}");
|
||||
|
||||
// ── Resolve singletons one-by-one to find which one hangs ────────
|
||||
Console.Error.WriteLine("[DIAG] Resolving PresenceTracker...");
|
||||
_ = app.Services.GetRequiredService<PresenceTracker>();
|
||||
|
||||
Reference in New Issue
Block a user