-
Notifications
You must be signed in to change notification settings - Fork 84
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
Include error messages returned by ffprobe or ffmpeg in non-zero status exception #306
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start!
src/main/java/com/github/kokorin/jaffree/process/BaseStdReader.java
Outdated
Show resolved
Hide resolved
src/main/java/com/github/kokorin/jaffree/process/BaseStdReader.java
Outdated
Show resolved
Hide resolved
src/main/java/com/github/kokorin/jaffree/ffprobe/FFprobeResultReader.java
Outdated
Show resolved
Hide resolved
src/main/java/com/github/kokorin/jaffree/process/GobblingStdReader.java
Outdated
Show resolved
Hide resolved
src/main/java/com/github/kokorin/jaffree/process/LoggingStdReader.java
Outdated
Show resolved
Hide resolved
src/main/java/com/github/kokorin/jaffree/process/ProcessHandler.java
Outdated
Show resolved
Hide resolved
Failed tests are probably related to #273 |
Thanks for the fast review - much appreciated! |
OK, no problem! |
I've now addressed your initial review comments, @kokorin |
src/main/java/com/github/kokorin/jaffree/process/BaseStdReader.java
Outdated
Show resolved
Hide resolved
@jonfryd Please add |
Done |
Let me know if you need additional changes to this, @kokorin |
src/main/java/com/github/kokorin/jaffree/process/ProcessNonZeroExitException.java
Outdated
Show resolved
Hide resolved
Thanks for reviewing this, @kokorin 👍 Have a nice weekend! |
…us exception (#306) * Include any error messages returned by ffprobe or ffmpeg in exception message * Return empty lists * Record errors in switch/case instead * Record messages in chronological order instead * Include process errors in a new exception * Don't use wilcard import * Added missing fail import * Include QUIET, as well * Don't use underscore style * #273 Ignore failing tests in ffmpeg/ffprobe 5.0 * Renaming to JaffreeAbnormalExitException (cherry picked from commit bdd741c)
…us exception (#306) * Include any error messages returned by ffprobe or ffmpeg in exception message * Return empty lists * Record errors in switch/case instead * Record messages in chronological order instead * Include process errors in a new exception * Don't use wilcard import * Added missing fail import * Include QUIET, as well * Don't use underscore style * #273 Ignore failing tests in ffmpeg/ffprobe 5.0 * Renaming to JaffreeAbnormalExitException (cherry picked from commit bdd741c)
So basically this does what you suggested to me yesterday, I think.