Skip to content

Commit

Permalink
adding exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
smellslikeml committed Dec 4, 2023
1 parent da07f41 commit 8098b15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ffmperative/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ def main():
elif args.action == "compose":
compose_plans, join_plan = call_director(args.clips, args.prompt)
for plan in compose_plans:
ffmp(plan, url_endpoint=args.url_endpoint)
try:
ffmp(plan, url_endpoint=args.url_endpoint)
except:
print("error: ", plan)
results = process_and_concatenate_clips(join_plan, args.output)
pprint(results)
else:
Expand Down

0 comments on commit 8098b15

Please sign in to comment.