Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass failed command to improve error reporting #78

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

farshidtz
Copy link
Contributor

The TestCmd function only returns the exit code without passing information on what has failed. It is very useful to know which ffmped or which ffprobe are failing to go and simply install them.

With the proposed change, when ffmpeg isn't installed, the error will be /usr/bin/which ffmpeg: exit status 1 instead of just exit status 1

@farshidtz farshidtz requested a review from xfrr as a code owner May 19, 2022 12:53
@xfrr xfrr merged commit 029b93e into xfrr:master Sep 29, 2023
@farshidtz farshidtz deleted the improve-cmd-error branch September 29, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants