fix: update logger module path for dashboard logging

This commit is contained in:
2025-11-29 17:21:39 +01:00
parent e8a2ee35c2
commit 9ccac0dcec

View File

@@ -139,7 +139,7 @@ export class DashboardServer {
// Intercept Logger.log calls by wrapping at module level // Intercept Logger.log calls by wrapping at module level
// This ensures all log calls go through dashboard state // This ensures all log calls go through dashboard state
// eslint-disable-next-line @typescript-eslint/no-var-requires // eslint-disable-next-line @typescript-eslint/no-var-requires
const loggerModule = require('../util/Logger') as { log: typeof botLog } const loggerModule = require('../util/notifications/Logger') as { log: typeof botLog }
const originalLog = loggerModule.log const originalLog = loggerModule.log
loggerModule.log = ( loggerModule.log = (