Added error message when insecure HTTP menu fetch returns SECURE_CONNECTION_REQUIRED

This commit is contained in:
Philip Abbey
2026-07-28 20:26:25 +01:00
parent e912c96734
commit e38301ef1a
3 changed files with 24 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ class WebhookManager {
// System.println("WebhookManager onReturnRequestWebhookId() Response Code: NETWORK_RESPONSE_OUT_OF_MEMORY, are we going too fast?");
// Ignore and see if we can carry on
break;
case Communications.INVALID_HTTP_BODY_IN_NETWORK_RESPONSE:
// System.println("WebhookManager onReturnRequestWebhookId() Response Code: INVALID_HTTP_BODY_IN_NETWORK_RESPONSE, check JSON is returned.");
Settings.unsetIsSensorsEnabled();