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
{{ message }}
Repository navigation
Commit 94c0e06
Browse filesBrowse the repository at this point in the historyBrowse files
fs: do not swallow exceptions thrown by completion callbacks
Since 93644d5 the TryCatch guarding StringBytes::Encode in the
completion callbacks of mkdtemp, realpath.native, readlink, recursive
mkdir, recursive readdir and dir.read is still active when the JS
callback runs. Exceptions thrown by the callback, or by the nextTick
queue drained after it, are caught by it and never reported.
Leave the TryCatch before calling into JS.
Fixes: #65667
Refs: #57706
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
PR-URL: #66308
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
0 commit comments