Ignore:
Timestamp:
04/08/11 14:08:45 (14 years ago)
Author:
tbretz
Message:
Switched on the non dim-standard formats for DimCommands; improved the output if the Converter throws an exception.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/StateMachineImp.cc

    r10314 r10327  
    231231    // Convert the user enetered data according to the format string
    232232    // into a data block which will be attached to the event
    233     lout << kBlue << name;
    234 
    235233    const Converter conv(lout, fmt, false);
    236234    if (!conv)
     
    242240    try
    243241    {
     242        lout << kBlue << name;
    244243        const vector<char> v = conv.GetVector(str.substr(p0));
     244        lout << endl;
     245
    245246        return PostEvent(*evt, v.data(), v.size());
    246247    }
    247248    catch (const std::runtime_error &e)
    248249    {
    249         lout << kRed << e.what() << endl;
     250        lout << endl << kRed << e.what() << endl;
    250251    }
    251252
Note: See TracChangeset for help on using the changeset viewer.