From 22b151fef66d4926bf84ee3dbdef7c90155e8c8e Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Mon, 14 Aug 2017 14:02:50 +0200 Subject: [PATCH] bring back fallback logging --- lib/plugins/run/utils/logEventGateway.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/plugins/run/utils/logEventGateway.js b/lib/plugins/run/utils/logEventGateway.js index d2974d78b..2b240a65d 100644 --- a/lib/plugins/run/utils/logEventGateway.js +++ b/lib/plugins/run/utils/logEventGateway.js @@ -64,5 +64,9 @@ module.exports = msg => { const processedMsg = getMessage(msg); if (processedMsg) { log(`${prefix}${processedMsg}${os.EOL}`); + } else { + // NOTE keep this here - it's a worse UX to skip messages + // rather than having an unformated message logged + log(`${prefix}raw output: ${colorDim(msg)}${os.EOL}`); } };