Ignore:
Timestamp:
May 8, 2017, 1:59:50 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_goodresults, ForceAnnealing_tocheck
Children:
a5f2fa
Parents:
cdc2f5
git-author:
Frederik Heber <heber@…> (03/23/17 03:34:50)
git-committer:
Frederik Heber <frederik.heber@…> (05/08/17 13:59:50)
Message:

FIX: STATUS msg only pushed to GUI, now also always in log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/PotentialAction/ParsePotentialsAction.cpp

    rcdc2f5 r7c7696  
    7373        deserialize();
    7474      } catch (SerializerMissingValueException &e) {
    75         if (const std::string *key = boost::get_error_info<SerializerKey>(e))
     75        if (const std::string *key = boost::get_error_info<SerializerKey>(e)) {
    7676          STATUS("Missing value when parsing information for potential "+*key+".");
    77         else
     77        } else
    7878          STATUS("Missing value parsing information for potential with unknown key.");
    7979        return Action::failure;
    8080      } catch (SerializerIllegalKeyException &e) {
    81         if (const std::string *key = boost::get_error_info<SerializerKey>(e))
     81        if (const std::string *key = boost::get_error_info<SerializerKey>(e)) {
    8282          STATUS("Illegal key parsing information for potential "+*key+".");
    83         else
     83        } else {
    8484          STATUS("Illegal key parsing information for potential with unknown key.");
     85        }
    8586        return Action::failure;
    8687      }
Note: See TracChangeset for help on using the changeset viewer.