From 16812749e5fd580bec1cac3ef5597fd13acfccdb Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 9 Mar 2015 13:40:23 +0100 Subject: [PATCH] format executive.cpp exception --- mix/qml/StatusPane.qml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/mix/qml/StatusPane.qml b/mix/qml/StatusPane.qml index 2a2eeb910..c17e17f89 100644 --- a/mix/qml/StatusPane.qml +++ b/mix/qml/StatusPane.qml @@ -68,17 +68,11 @@ Rectangle { var formatted = _message.match(/(?:)/); if (formatted.length > 1) formatted = formatted[1] + ": "; - var exceptionInfos = _message.match(/(tag_)(.+)/g); - console.log("hh " + exceptionInfos.length); + else + return _message; + var exceptionInfos = _message.match(/(?:tag_)(.+)/g); for (var k in exceptionInfos) - { - formatted += " " + exceptionInfos[k].replace("*]", "").replace("tag_", ""); - console.log(k); - if (k === exceptionInfos.length - 1) - formatted += "." - else - formatted += "," - } + formatted += " " + exceptionInfos[k].replace("*]", "").replace("tag_", "") + " - "; return formatted; } }