mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
This actually doesn't fix the error but should make it more flexible. Also adds some testing. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit * **Refactor** * Enhanced error detection for invalid API key messages to improve accuracy. * **Tests** * Added comprehensive tests verifying error handling and client lifecycle behavior without network dependencies. <!-- end of auto-generated comment: release notes by coderabbit.ai -->