mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Update error wording
This commit is contained in:
parent
1f66d1ed8a
commit
bf3c5898c6
2 changed files with 4 additions and 4 deletions
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue