personal memory agent
0
fork

Configure Feed

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

convey: audit fixup — document empty catches

+7 -3
+7 -3
convey/templates/app.html
··· 40 40 <body{% if body_classes %} class="{{ body_classes|join(' ') }}"{% endif %}> 41 41 <script> 42 42 // Restore sidebar state before first paint to prevent FOUC 43 - (function(){try{var s=localStorage.getItem('solstone:menu-state');if(s==='full'&&window.innerWidth<=768)document.body.classList.add('menu-full');else if(s==='all')document.body.classList.add('menu-all');}catch(e){}})(); 43 + (function(){try{var s=localStorage.getItem('solstone:menu-state');if(s==='full'&&window.innerWidth<=768)document.body.classList.add('menu-full');else if(s==='all')document.body.classList.add('menu-all');}catch(e){/* Default collapsed menu state is safe when storage is unavailable. */}})(); 44 44 </script> 45 45 <a href="#main-content" class="skip-link">skip to content</a> 46 46 <!-- Corner Tags (screen region detection) --> ··· 439 439 var body = {}; 440 440 try { 441 441 body = await response.json(); 442 - } catch (_err) {} 442 + } catch (_err) { 443 + // Fall back to generic talent-run copy when the error body is not JSON. 444 + } 443 445 throw new Error(body.error || 'Unable to load talent run'); 444 446 } 445 447 return response.json(); ··· 616 618 function initChatChrome() { 617 619 try { 618 620 LEGACY_KEYS.forEach(function(key) { localStorage.removeItem(key); }); 619 - } catch (_err) {} 621 + } catch (_err) { 622 + // Legacy cleanup is best-effort; failing closed leaves current keys untouched. 623 + } 620 624 621 625 if (modal) { 622 626 modal.addEventListener('click', function(event) {