Browse Source

format executive.cpp exception

cl-refactor
yann300 10 years ago
parent
commit
16812749e5
  1. 14
      mix/qml/StatusPane.qml

14
mix/qml/StatusPane.qml

@ -68,17 +68,11 @@ Rectangle {
var formatted = _message.match(/(?:<dev::eth::)(.+)(?:>)/);
if (formatted.length > 1)
formatted = formatted[1] + ": ";
var exceptionInfos = _message.match(/(tag_)(.+)/g);
console.log("hh " + exceptionInfos.length);
for (var k in exceptionInfos)
{
formatted += " " + exceptionInfos[k].replace("*]", "").replace("tag_", "");
console.log(k);
if (k === exceptionInfos.length - 1)
formatted += "."
else
formatted += ","
}
return _message;
var exceptionInfos = _message.match(/(?:tag_)(.+)/g);
for (var k in exceptionInfos)
formatted += " " + exceptionInfos[k].replace("*]", "").replace("tag_", "") + " - ";
return formatted;
}
}

Loading…
Cancel
Save