You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Empty catch blocks silently swallow errors in config and initialization #11701
for(leti=0;i<data.plugin.length;i++){constplugin=data.plugin[i]try{data.plugin[i]=import.meta.resolve!(plugin,configFilepath)}catch(err){}// Error completely swallowed - user has no idea plugin failed}
Invalid plugins silently ignored, user sees no feedback
Initialization issues hidden
Makes troubleshooting difficult
Suggested Fix
Replace empty catch blocks with proper logging:
// config.tstry{data.plugin[i]=import.meta.resolve!(plugin,configFilepath)}catch(err){log.warn("failed to resolve plugin",{ plugin,error: err})// Optionally remove the invalid plugin from the array}// global/index.tstry{// ...cache cleanup}catch(e){log.warn("failed to clear cache",{error: e})}
These issues also address error handling gaps in the codebase that result in silent failures or crashes when errors aren't properly handled. You may want to review these related error handling issues to ensure a comprehensive solution across all affected modules.
Activity
github-actions commentedon Feb 2, 2026
This issue might be a duplicate of existing issues. Please check:
These issues also address error handling gaps in the codebase that result in silent failures or crashes when errors aren't properly handled. You may want to review these related error handling issues to ensure a comprehensive solution across all affected modules.
github-actions commentedon Apr 3, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.