mirror of
https://github.com/dergigi/boris.git
synced 2026-01-23 08:44:26 +01:00
debug: add start() method logs to confirm controller initialization
Added initial logs to show: - When start() is called - Whether already loaded (and skipped) This helps confirm the controller is even being initialized.
This commit is contained in:
@@ -175,8 +175,11 @@ class ReadingProgressController {
|
||||
const { relayPool, eventStore, pubkey, force = false } = params
|
||||
const startGeneration = this.generation
|
||||
|
||||
console.log('[readingProgress] start() called for pubkey:', pubkey.slice(0, 16), '...', 'force:', force)
|
||||
|
||||
// Skip if already loaded for this pubkey and not forcing
|
||||
if (!force && this.isLoadedFor(pubkey)) {
|
||||
console.log('[readingProgress] Already loaded for pubkey, skipping')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user