Skip to content
Snippets Groups Projects
Commit 8144aa41 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

improved output of condition check on error

parent 4fe0c8e4
No related branches found
No related tags found
No related merge requests found
#include "ConditionCheckMagnitudeChecks.h"
#include <ArmarXCore/core/util/StringHelpers.h>
namespace armarx
{
......@@ -22,8 +24,7 @@ namespace armarx
if (dataFields.size() != 1)
{
printf("Size of dataFields: %d\n", (int)dataFields.size());
throw InvalidConditionException("Wrong number of datafields for condition equals ");
throw InvalidConditionException("Wrong number of datafields for condition magnitude larger: expected 1 actual: " + ValueToString(dataFields.size()));
}
const Variant& value = dataFields.begin()->second;
......
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