Files
Ved Chaudhari 933cb117c9 fs: restore stack traces of fs/promises readFile and writeFile errors
Errors from readFile(), writeFile() and appendFile() have had no stack
frames since they started using a single thread pool round trip, as
the stack was captured from a C++ callback with no JS frames on it.
Capture it after the await instead, like the rest of fs/promises.

Refs: https://github.com/nodejs/node/pull/65327
Refs: https://github.com/nodejs/node/pull/65489
Assisted-by: claude:opus-5.5
Signed-off-by: vedchaudhari <vedc2853@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66757
Reviewed-By: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
2026-11-11 22:15:53 +00:00
..
2026-09-11 13:15:27 -04:00
2026-09-22 09:26:05 +00:00
2026-09-11 13:15:27 -04:00