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 21f1e86 commit 60ef703Copy full SHA for 60ef703
src/torchcodec/_core/ops.py
@@ -60,7 +60,13 @@ def load_torchcodec_shared_libraries():
60
except Exception as e:
61
# TODO: recording and reporting exceptions this way is OK for now as it's just for debugging,
62
# but we should probably handle that via a proper logging mechanism.
63
- exceptions.append((ffmpeg_major_version, e))
+ # debugging
64
+ import traceback
65
+
66
+ full_traceback = "".join(
67
+ traceback.format_exception(type(e), e, e.__traceback__)
68
+ )
69
+ exceptions.append((ffmpeg_major_version, f"{str(e)}\n{full_traceback}"))
70
71
traceback = (
72
"\n[start of libtorchcodec loading traceback]\n"
0 commit comments