1
0
Fork 0
mirror of synced 2024-10-04 12:03:31 +13:00
This commit is contained in:
Adria Navarro 2023-06-12 17:50:07 +01:00
parent ded738a566
commit 70798a6b93

View file

@ -150,7 +150,7 @@ function readBytes(stream: fs.ReadStream, length: number) {
reject(new Error("Insufficient data in the stream."))
})
stream.on("error", (error: any) => {
stream.on("error", error => {
reject(error)
})
})