You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
saveAs function throws file read failed error
Reason:
toBuffer function use 'fs' module sync function to read file, but donnot try/catch the error or other error handler.
Although there is a callback(error) function in arguments, but still need developer to try/catch the saveAs function.
I think it's maybe a bug.
The text was updated successfully, but these errors were encountered:
hill-mickey
changed the title
saveAs function donot catch file read error
saveAs function donnot catch file read failed error
Aug 15, 2014
Problem:
saveAs function throws file read failed error
Reason:
toBuffer function use 'fs' module sync function to read file, but donnot try/catch the error or other error handler.
Although there is a callback(error) function in arguments, but still need developer to try/catch the saveAs function.
I think it's maybe a bug.
The text was updated successfully, but these errors were encountered: