From 851c46972738de37dfdff998dc3b7be7e7fb7155 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 23 Feb 2021 21:10:16 +0100 Subject: [PATCH] show forced finished this means the item was forcefully finished when the app closed down, and the underlying operation was still running --- scripts/logviewer/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/logviewer/main.js b/scripts/logviewer/main.js index 59b38134..f06ee582 100644 --- a/scripts/logviewer/main.js +++ b/scripts/logviewer/main.js @@ -72,6 +72,7 @@ function showItemDetails(item, parent, itemNode) { t.p([t.strong("Start: "), new Date(itemStart(item)).toString()]), t.p([t.strong("Duration: "), `${itemDuration(item)}ms`]), t.p([t.strong("Child count: "), itemChildren(item) ? `${itemChildren(item).length}` : "none"]), + t.p([t.strong("Forced finish: "), (itemForcedFinish(item) || false) + ""]), t.p(t.strong("Values:")), t.ul({class: "values"}, Object.entries(itemValues(item)).map(([key, value]) => { return t.li([ @@ -150,6 +151,7 @@ function itemLevel(item) { return item.l; } function itemLabel(item) { return item.v?.l; } function itemType(item) { return item.v?.t; } function itemError(item) { return item.e; } +function itemForcedFinish(item) { return item.f; } function itemShortErrorMessage(item) { if (itemError(item)) { const e = itemError(item);