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 07476ba commit dca0634Copy full SHA for dca0634
discid/libdiscid.py
@@ -100,7 +100,7 @@ def _open_library(lib_name):
100
except OSError as exc:
101
if lib_name not in str(exc):
102
# replace uninformative Error on Windows
103
- raise OSError("could not find libdiscid: %s" % lib_name)
+ raise OSError("could not find libdiscid: %s" % lib_name) from exc
104
else:
105
raise
106
0 commit comments