Changeset 15070 for trunk


Ignore:
Timestamp:
03/14/13 10:11:16 (12 years ago)
Author:
tbretz
Message:
Fixed a problem with overwriting of an existing variable name in case of failure.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/CheckStates.js

    r15050 r15070  
    128128
    129129    // Create a list of all servers which do not have valid states yet
    130     var servers = [];
     130    var missing = [];
    131131    for (var i=0; i<servers.length; i++)
    132132        if (!states[i])
    133             servers.push(servers[i]);
    134 
    135     throw new Error("Timeout waiting for send-ready of "+servers.join(", "));
     133            missing.push(servers[i]);
     134
     135    throw new Error("Timeout waiting for send-ready of "+missing.join(", "));
    136136}
    137137
Note: See TracChangeset for help on using the changeset viewer.