Commit Graph
3 Commits
Author SHA1 Message Date
Naoki Ainoya b678377f9b update bundle 2025-07-02 09:50:57 +09:00
Naoki Ainoya dee5a5edef fix lint 2025-07-02 09:47:42 +09:00
Naoki Ainoya 37fe8eb685 fix: improve error handling for AI service responses
- Add defensive check for response.body existence to prevent undefined property access
- Include x-ms-error-code header in error messages for better debugging
- Provide clearer error messages for different failure scenarios
- Fix 'Cannot read properties of undefined (reading 'error')' runtime error

This improves the debugging experience when AI service requests fail due to
network issues, authentication errors, or unexpected response formats.
2025-07-02 09:18:50 +09:00