]> git.proxmox.com Git - pve-ha-manager.git/blobdiff - src/PVE/HA/Manager.pm
recompute_online_node_usage: show state on internal error
[pve-ha-manager.git] / src / PVE / HA / Manager.pm
index d1bd4775d5587355128f6879850329c4529482dd..1d646b20ae1e269c09f6ba2ca8bc63d2416449af 100644 (file)
@@ -200,7 +200,7 @@ sub recompute_online_node_usage {
            } elsif ($state eq 'stopped') {
                # do nothing
            } else {
-               die "should not be reached";
+               die "should not be reached (sid = '$sid', state = '$state')";
            }
        }
     }
@@ -297,7 +297,6 @@ sub read_lrm_status {
        }
     }
 
-
     return ($results, $modes);
 }