diff --git a/js/nostr/toolkit.js b/js/nostr/toolkit.js index f3314803..829be9c8 100644 --- a/js/nostr/toolkit.js +++ b/js/nostr/toolkit.js @@ -581,6 +581,7 @@ export function shimLegacySimplePoolMethods(pool) { : 7000; timer = setTimeout(() => { + devLogger.warn(`[toolkit] pool.list timed out after ${timeoutMs}ms.`); timer = null; try { subscription.unsub?.(); diff --git a/js/services/nostrService.js b/js/services/nostrService.js index c59c5694..92ae53c8 100644 --- a/js/services/nostrService.js +++ b/js/services/nostrService.js @@ -1178,8 +1178,7 @@ export class NostrService { const requestedLimit = Number(options?.limit); const resolvedLimit = this.nostrClient.clampVideoRequestLimit( - requestedLimit, - DEFAULT_VIDEO_REQUEST_LIMIT + requestedLimit ); const filter = { @@ -1222,7 +1221,7 @@ export class NostrService { } } } catch (relayErr) { - // ignore relay failures + this.log(`[nostrService] Relay ${url} failed:`, relayErr); } }) );