Bugfixes nov2025 pt2 (#5)

* UI bugfixes.
* Fix open port check during new fwd setup wizard
This commit is contained in:
2025-11-25 00:09:32 +00:00
committed by GitHub
parent 39fe4286b4
commit 49acba5679
8 changed files with 66 additions and 17 deletions
+1
View File
@@ -357,6 +357,7 @@ func (m *Manager) startWorker(fwd config.Forward) error {
m.healthChecker.Register(fwd.ID(), fwd.LocalPort, func(forwardID string, status healthcheck.Status, errorMsg string) {
if m.statusUI != nil {
m.statusUI.UpdateStatus(forwardID, string(status))
// Send error separately if there is one
if (status == healthcheck.StatusUnhealthy || status == healthcheck.StatusStale) && errorMsg != "" {
if ui, ok := m.statusUI.(interface{ SetError(id, msg string) }); ok {