From 3ff69b7c9221988ffa600e8f3903c4d626bb685a Mon Sep 17 00:00:00 2001
From: Florent Lamiraux <florent@laas.fr>
Date: Fri, 9 Dec 2011 17:44:31 +0100
Subject: [PATCH] Make error message more expressive.

---
 src/entity-py.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/entity-py.cc b/src/entity-py.cc
index 332fa4d..53f05c2 100644
--- a/src/entity-py.cc
+++ b/src/entity-py.cc
@@ -234,7 +234,7 @@ namespace dynamicgraph {
 	    valueVector.push_back(value);
 	  } catch(const std::exception& exc) {
 	    std::stringstream ss;
-	    ss << "Error while parsing argument " << iParam+1 << ": "
+	    ss << "while parsing argument " << iParam+1 << ": expecting "
 	       << exc.what() << ".";
 	    PyErr_SetString(dgpyError, ss.str().c_str()) ;
 	    return NULL;
-- 
GitLab