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

Loading…
Cancel
Save