Throw error if unknown NORMALISATIONSTAGE

This commit is contained in:
HaveAGitGat 2023-04-07 17:27:18 +01:00
parent 28685b9023
commit 089d7375eb

View file

@ -220,8 +220,7 @@ const plugin = async (file, librarySettings, inputs, otherArguments) => {
return response; return response;
} }
// what is this tag? // what is this tag?
response.infoLog += `Unknown normalisation stage tag: \n${probeData.format.tags.NORMALISATIONSTAGE}`; throw new Error(`Unknown normalisation stage tag: \n${probeData.format.tags.NORMALISATIONSTAGE}`);
return response;
}; };
module.exports.details = details; module.exports.details = details;