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>
This commit is contained in:
committed by
GitHub
parent
8d97184105
commit
05c08532b3
@@ -403,7 +403,8 @@ function handleFeatureToggle(feat, newEnabled) {
|
|||||||
openPortRequirementsModal(feat.name, closedPorts, proceedAfterPortCheck);
|
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
|
// Safe fallback if status check fails
|
||||||
openPortRequirementsModal(feat.name, ports, proceedAfterPortCheck);
|
openPortRequirementsModal(feat.name, ports, proceedAfterPortCheck);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user