Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

silence console noise: kidlisp 404 for non-lisp pieces, module-loader blob/circular warnings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+6 -5
+4 -3
system/public/aesthetic.computer/lib/kidlisp.mjs
··· 15144 15144 } 15145 15145 }); 15146 15146 } else { 15147 - console.error(`❌ Failed to load cached code: ${nanoidCode} - HTTP ${response.status}: ${response.statusText} from ${url}`); 15147 + if (response.status !== 404) { 15148 + console.error(`❌ Failed to load cached code: ${nanoidCode} - HTTP ${response.status}: ${response.statusText} from ${url}`); 15149 + } 15148 15150 resolve(null); 15149 15151 } 15150 15152 }).catch(error => { 15151 - console.error(`❌ Network error loading cached code: ${nanoidCode} from ${url}`, error); 15152 15153 resolve(null); 15153 15154 }); 15154 15155 } ··· 15174 15175 15175 15176 // Fallback to production aesthetic.computer domain 15176 15177 const productionUrl = `https://aesthetic.computer/api/store-kidlisp?code=${nanoidCode}`; 15177 - console.log(`🔄 Local dev server failed, trying production fallback: ${productionUrl}`); 15178 + // Silent fallback — 404 on local just means it's not a kidlisp piece 15178 15179 const productionSource = await tryFetch(productionUrl, true); 15179 15180 15180 15181 return productionSource;
+2 -2
system/public/aesthetic.computer/module-loader.mjs
··· 302 302 // If any HTTP fallbacks were needed, the blob approach won't work reliably 303 303 // Clean up the broken blob URLs we created - they have un-rewritten imports 304 304 if (hasHttpFallback) { 305 - console.warn(`📦 Bundle ${msg.entry} has circular deps, cleaning up ${newBlobUrls.length} blob URLs`); 305 + // Circular deps — clean up blob URLs silently and fall back to HTTP 306 306 for (const modPath of newBlobUrls) { 307 307 const url = this.blobUrls.get(modPath); 308 308 if (url) URL.revokeObjectURL(url); ··· 396 396 return null; 397 397 } 398 398 // Static import missing - this is a problem (missing dep in bundle) 399 - console.warn(`📦 Missing blob URL: ${modulePath} imports "${importPath}" -> resolved: "${resolved}"`); 399 + // Silent — missing blob URLs fall back to HTTP import 400 400 hadFallback = true; 401 401 return null; // Don't rewrite - leave original path 402 402 };