Skip to content

error not caught when using async api to extract files #103

@WanGe2000

Description

@WanGe2000

`
const StreamZip = require("node-stream-zip");
async function test() {
const zip = new StreamZip.async({
file: "C:\Users\Administrator\AppData\Roaming\xxxx\mods\443.zip",
});
try {
await zip.extract(null, "G:\Monster Hunter");
} catch (error) {
console.log(error);
}
console.log("-----");
}
test()

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions