From 4af69fb8c88000a7be6b2e84f5bbebc74012adba Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 29 Mar 2018 17:36:00 +0200 Subject: [PATCH] Do not show a warning like log, but just dump the tag and detail --- src/progress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/progress.js b/src/progress.js index 525bfb250..0e31fc4a5 100644 --- a/src/progress.js +++ b/src/progress.js @@ -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; }