Skip to content

Commit

Permalink
made the error more helpfull
Browse files Browse the repository at this point in the history
  • Loading branch information
tking53 authored and spaulaus committed Jun 7, 2017
1 parent 44a5247 commit 8e7b1af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Analysis/Utkscan/core/source/GlobalsXmlParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,7 @@ void GlobalsXmlParser::ParseTraceNode(const pugi::xml_node &node, Globals *globa
globals->SetTraceDelay(
node.child("TraceDelay").attribute("value").as_uint());
} else
throw invalid_argument(CriticalNodeMessage(node.child("TraceDelay")
.name()));
throw invalid_argument(CriticalNodeMessage("TraceDelay"));

sstream_ << "Trace Delay : " << globals->GetTraceDelayInNs() << " ns";
messenger_.detail(sstream_.str());
Expand Down

0 comments on commit 8e7b1af

Please sign in to comment.