provide more debugging info on metadata parse errors

pull/1/head
ansuz 5 years ago
parent d83c43b0eb
commit 1d5534b593

@ -76,7 +76,7 @@ var getMetadataAtPath = function (Env, path, cb) {
catch (e) { catch (e) {
console.log("getMetadataAtPath"); console.log("getMetadataAtPath");
console.error(e); console.error(e);
complete('INVALID_METADATA'); complete('INVALID_METADATA', metadata);
} }
}); });
stream.on('end', function () { stream.on('end', function () {

Loading…
Cancel
Save