Properly log validation errors when parsing VideoInfo
#12
Labels
error handling
More helpful and transparent error handling/logging
VideoInfo
#12
Currently the
get_ffprobe_info
function simply replaces aValidationError
with anFFProbeError
that contains the stderr string from the sub-process.videbo/src/videbo/video/analyze.py
Lines 132 to 142 in e7b53e0
There should probably be two distinct error paths: One handling a non-empty stderr and the other handling a validation error when parsing stdout.
The text was updated successfully, but these errors were encountered: