diff --git a/alib2common/src/abstraction/common/AlgorithmHelper.cpp b/alib2common/src/abstraction/common/AlgorithmHelper.cpp index 9a349839828f5f825caa89f0c1234b58933d67a4..0fa11dc76d1b19106ab1f6af3507d77aec4e3a4f 100644 --- a/alib2common/src/abstraction/common/AlgorithmHelper.cpp +++ b/alib2common/src/abstraction/common/AlgorithmHelper.cpp @@ -34,7 +34,7 @@ std::shared_ptr < abstraction::OperationAbstraction > AlgorithmHelper::eval ( co i = 0; for ( const std::shared_ptr < abstraction::OperationAbstraction > & param : casted_params ) { if ( ! algo->attachInput ( param, i, moves [ i ] ) ) - throw exception::CommonException ( "Can't connect param at " + ext::to_string ( i ) + " of algorithm " + name + " with result of type " + param->getReturnType ( ) + "." ); + throw exception::CommonException ( "Can't connect param " + algo->getParamType ( i ) + " at " + ext::to_string ( i ) + " of algorithm " + name + " with result of type " + param->getReturnType ( ) + "." ); ++ i; }