diff --git a/src/entity-py.cc b/src/entity-py.cc index 6abfdc54a8ceea3b1cd980cc14a6b2349eb3748f..58ba371c19c99a8d51f9b775db75af1deda52431 100644 --- a/src/entity-py.cc +++ b/src/entity-py.cc @@ -422,7 +422,7 @@ namespace dynamicgraph { try { Value result = command->execute(); return valueToPython(result); - } catch (const ExceptionAbstract& exc) { + } catch (const std::exception& exc) { PyErr_SetString(error, exc.what()) ; return NULL; }