- Extract message object using get_message() helper in _cloudmail_add_domain and _cloudmail_del_domain methods for consistency - Replace direct update.message.reply_text() calls with message.reply_text() throughout domain management functions - Add comprehensive HTTP status code validation in API connection check - Implement empty response detection to handle edge cases where API returns blank content - Add JSON parsing error handling with fallback error message for non-JSON responses - Improve error messaging to include HTTP status codes and API error codes for better debugging - Enhance robustness of email service API validation with multiple safety checks
237 KiB
237 KiB