Changeset 14997


Ignore:
Timestamp:
03/09/13 11:03:52 (12 years ago)
Author:
tbretz
Message:
Throw an exception rather than printing an error message. We are not yet there that we don't have to alarm the user by red alert messages.
File:
1 edited

Legend:

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

    r14970 r14997  
    4343if (!checkStates(table))
    4444{
    45     console.out("Something unexpected has happened. One of the servers",
     45    throw new Error("Something unexpected has happened. One of the servers",
    4646            "is in a state in which it should not be. Please,",
    4747            "try to find out what happened...");
    48     exit();
    4948}
    5049
Note: See TracChangeset for help on using the changeset viewer.