Update error wording

This commit is contained in:
HaveAGitGat 2023-12-22 16:04:34 +00:00
parent 1f66d1ed8a
commit bf3c5898c6
2 changed files with 4 additions and 4 deletions

View file

@ -92,8 +92,8 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
});
if (streams.length === 0) {
args.jobLog('All streams have been removed from the file');
throw new Error('All streams have been removed from the file');
args.jobLog('No streams mapped for new file');
throw new Error('No streams mapped for new file');
}
for (let i = 0; i < streams.length; i += 1) {