Skip to content
Snippets Groups Projects
Commit bc97126b authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

Fixed a bug that sometimes was preventing the printing

of a usefull error message
parent 4a69df73
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment