Closed
Description
Hello.
I use webtorrent in node, os windows 8.1 and got error:
fs.js:620 Uncaught Error: Offset is out of bounds
fs.read @ fs.js:620
onread @ C:\Projects\launcher\src\main_app\node_modules\random-access-file\index.js:84
wrapper @ fs.js:614
I can wrap fs.read in try/catch and it solves the problem:
try {
fs.read(self.fd, buf, buf.length - offset, length, offset, onread)
}
catch (e) {
onread(e)
}
How better to solve this problem?
Metadata
Metadata
Assignees
Labels
No labels