mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add message of raised exception to new exception
This commit is contained in:
parent
dc1e6f5b20
commit
6785a054b7
1 changed files with 4 additions and 3 deletions
|
|
@ -1010,10 +1010,11 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
streams = ffprobe_streams(
|
||||
full_input_path_single_file, self.log
|
||||
)
|
||||
except Exception:
|
||||
except Exception as exc:
|
||||
raise AssertionError((
|
||||
"FFprobe couldn't read information about input file: \"{}\""
|
||||
).format(full_input_path_single_file))
|
||||
"FFprobe couldn't read information about input file: \"{}\"."
|
||||
" Error message: {}"
|
||||
).format(full_input_path_single_file, str(exc)))
|
||||
|
||||
# Try to find first stream with defined 'width' and 'height'
|
||||
# - this is to avoid order of streams where audio can be as first
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue