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
Fix avatar fetch crashes and return generic user icon for TLS certificate issues (#7496)
* Initial plan
* Initial analysis and plan for avatar fetch error handling
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Fix avatar fetch error handling for TLS certificate issues
- Wrap second doFetch() call in try-catch to prevent crashes
- Add proper error logging for avatar fetch failures
- Return undefined gracefully when avatar fetching fails
- Improve user identification in error messages for both accounts and teams
- Add test to verify the fix handles TLS errors correctly
* Return generic user icon instead of undefined for failed avatar fetches
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Use proper icon and better color
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
0 commit comments