From 05c08532b39f067c7595d88cb59c9fc3466ddd36 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 15 Apr 2026 16:36:53 +0000 Subject: [PATCH] Log port status fetch failures before fallback modal Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/e1d94cfc-9b91-48a3-99e3-64d7609ba710 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- app/sovran_systemsos_web/static/js/features.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/sovran_systemsos_web/static/js/features.js b/app/sovran_systemsos_web/static/js/features.js index 12fb2b4..e0fda1f 100644 --- a/app/sovran_systemsos_web/static/js/features.js +++ b/app/sovran_systemsos_web/static/js/features.js @@ -403,7 +403,8 @@ function handleFeatureToggle(feat, newEnabled) { openPortRequirementsModal(feat.name, closedPorts, proceedAfterPortCheck); } }) - .catch(function() { + .catch(function(err) { + console.warn("Failed to fetch port status for feature enable flow:", err); // Safe fallback if status check fails openPortRequirementsModal(feat.name, ports, proceedAfterPortCheck); });