os-js / osjs-server

OS.js Server Module
https://manual.os-js.org
Other
19 stars 21 forks source link

Fix the error generated through the createReadStream #78

Closed maryam4s26 closed 10 months ago

maryam4s26 commented 10 months ago

This PR aims at Fix the error generated through the createReadStream https://github.com/os-js/OS.js/issues/840

andersevenrud commented 10 months ago

Hm. This approach can prevent an exception from being thrown further down in the scope, but it does not solve the underlying issue.

See https://github.com/os-js/osjs-server/pull/77 for a PR where I found a solution for this that you can test.