mirror of
https://github.com/dergigi/boris.git
synced 2026-01-18 06:14:27 +01:00
fix: resolve all linting issues - replace empty catch blocks and fix explicit any types
This commit is contained in:
@@ -20,7 +20,7 @@ export const DebugBus = {
|
||||
buffer.push(entry)
|
||||
if (buffer.length > MAX_BUFFER) buffer.shift()
|
||||
listeners.forEach(l => {
|
||||
try { l(entry) } catch {}
|
||||
try { l(entry) } catch (err) { console.warn('[DebugBus] listener error:', err) }
|
||||
})
|
||||
},
|
||||
info(source: string, message: string, data?: unknown): void { this.log('info', source, message, data) },
|
||||
|
||||
Reference in New Issue
Block a user