We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45342a7 commit 3608b50Copy full SHA for 3608b50
src/torchcodec/decoders/_core/ops.py
@@ -54,11 +54,11 @@ def load_torchcodec_extension():
54
except Exception as e:
55
# TODO: recording and reporting exceptions this way is OK for now as it's just for debugging,
56
# but we should probably handle that via a proper logging mechanism.
57
- exceptions.append(e)
+ exceptions.append(ffmpeg_major_version, e)
58
59
traceback = (
60
"\n[start of libtorchcodec loading traceback]\n"
61
- + "\n".join(str(e) for e in exceptions)
+ + "\n".join(f"FFmpeg version {v}: {str(e)}" for v, e in exceptions)
62
+ "\n[end of libtorchcodec loading traceback]."
63
)
64
raise RuntimeError(
0 commit comments