mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-10 00:39:22 -06:00
Add AttributeError to the exception handler in the git pull operation. This catches the case where a repository exists but has no 'origin' remote configured, which can happen if the remote was renamed or deleted by the user or due to repository corruption. When this error occurs, it now creates a CORRUPT_REPOSITORY issue with an EXECUTE_RESET suggestion, triggering the auto-fix mechanism to re-clone the repository. Fixes SUPERVISOR-69Z Fixes SUPERVISOR-172C 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>