diff --git a/src/core/Action.cpp b/src/core/Action.cpp index 6a00d80d9f9ec966622a94c9357c15b6e34cd67e..bad5e8ac1897af6f15f3e200fd6c2102bd1f09e4 100644 --- a/src/core/Action.cpp +++ b/src/core/Action.cpp @@ -212,7 +212,6 @@ void Action::prepare(){ void Action::error( const std::string & msg ) const { log.printf("ERROR in input to action %s with label %s : %s \n \n", name.c_str(), label.c_str(), msg.c_str() ); - if( !line.empty() ) keywords.print( log ); plumed_merror("ERROR in input to action " + name + " with label " + label + " : " + msg ); }