From 1d5534b593b9dd4ab8fb63026071e062e4024820 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 9 Sep 2019 16:03:14 +0200 Subject: [PATCH] provide more debugging info on metadata parse errors --- storage/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/file.js b/storage/file.js index 904e07e38..52b1d38e9 100644 --- a/storage/file.js +++ b/storage/file.js @@ -76,7 +76,7 @@ var getMetadataAtPath = function (Env, path, cb) { catch (e) { console.log("getMetadataAtPath"); console.error(e); - complete('INVALID_METADATA'); + complete('INVALID_METADATA', metadata); } }); stream.on('end', function () {