provide more debugging info on metadata parse errors

This commit is contained in:
ansuz 2019-09-09 16:03:14 +02:00
parent d83c43b0eb
commit 1d5534b593
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {