There was an error while loading. Please reload this page.
1 parent df9fb69 commit 3be78c6Copy full SHA for 3be78c6
1 file changed
crates/stdlib/src/lzma.rs
@@ -185,7 +185,7 @@ mod _lzma {
185
state
186
.decompress(data, max_length, BUFSIZ, vm)
187
.map_err(|e| match e {
188
- DecompressError::Decompress(err) => vm.new_os_error(err.to_string()),
+ DecompressError::Decompress(err) => new_lzma_error(err.to_string(), vm),
189
DecompressError::Eof(err) => err.to_pyexception(vm),
190
})
191
}
0 commit comments