Skip to content
Snippets Groups Projects
Commit f5eafb57 authored by Arthur Coolen's avatar Arthur Coolen
Browse files

Bug1164:

added more info after illegal DP error
parent c1106107
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ void objectStateTriggered(string dp1, string trigger,
if (start >= 0) {
element = "status.childState";
} else {
if (bDebug) DebugN("monitorStateChanges.ctl:objectStateTriggered|ERROR: No state nor childState found in DPName");
DebugTN("monitorStateChanges.ctl:objectStateTriggered|ERROR: No state nor childState found in DPName");
return;
}
}
......@@ -263,7 +263,7 @@ void objectStateTriggered(string dp1, string trigger,
setStates(datapoint,element,state,message,force,false);
} else {
DebugN("monitorStateChanges.ctl:objectStateTriggered|result: not complete command, or database could not be found."+ getLastError());
DebugTN("monitorStateChanges.ctl:objectStateTriggered|result: Wrong datapoint or state. DP: " + datapoint +"."+element+ " State: "+state );
}
}
......
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