From bc97126baedb26fbe3c2ea9532f86c5909b51c5d Mon Sep 17 00:00:00 2001
From: Carlo Camilloni <carlo.camilloni@gmail.com>
Date: Mon, 11 Jan 2016 21:17:03 +0100
Subject: [PATCH] Fixed a bug that sometimes was preventing the printing of a
 usefull error message

---
 src/core/Action.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/core/Action.cpp b/src/core/Action.cpp
index 6a00d80d9..bad5e8ac1 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 );
 }
 
-- 
GitLab