From bf3c5898c64e89bc9226532cb0394cfca9a27e87 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Fri, 22 Dec 2023 16:04:34 +0000 Subject: [PATCH] Update error wording --- .../ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js | 4 ++-- .../ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js index a0b103e..73d3ebb 100644 --- a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.js @@ -119,8 +119,8 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function return !stream.removed; }); 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'); } _loop_1 = function (i) { var stream = streams[i]; diff --git a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts index 6457026..2791d89 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandExecute/1.0.0/index.ts @@ -92,8 +92,8 @@ const plugin = async (args: IpluginInputArgs): Promise => { }); 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) {