Do not show a warning like log, but just dump the tag and detail

This commit is contained in:
Johannes Zellner
2018-03-29 17:36:00 +02:00
parent cbc98a48ef
commit 4af69fb8c8
+1 -1
View File
@@ -41,7 +41,7 @@ function setDetail(tag, detail) {
assert.strictEqual(typeof tag, 'string');
assert.strictEqual(typeof detail, 'string');
if (!progress[tag]) return debug('unable to set detail %s', detail);
if (!progress[tag]) return debug('[%s] %s', tag, detail);
progress[tag].detail = detail;
}