From 8d102ea762f94c172d3f00c130eb8ffe9f467c35 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 26 Aug 2019 17:40:14 +0200 Subject: [PATCH] log more --- historyKeeper.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/historyKeeper.js b/historyKeeper.js index 76b3bc2dc..3243d0f15 100644 --- a/historyKeeper.js +++ b/historyKeeper.js @@ -868,7 +868,10 @@ module.exports.create = function (cfg) { store.writeMetadata(channelName, JSON.stringify(metadata), function (err) { if (err) { // FIXME tell the user that there was a channel error? - return void Log.error('HK_WRITE_METADATA'); + return void Log.error('HK_WRITE_METADATA', { + channel: channelName, + error: err, + }); } });